edited by
500 views
0 votes
0 votes

edited by

1 Answer

Related questions

213
views
1 answers
0 votes
Debargha Mitra Roy asked Apr 16
213 views
#include <stdio.h int main() { int a[3] = {1, 3, 5, 7, 9, 11}; int *ptr = a[0]; ptr += sizeof(int); printf("%d", *ptr); return 0; }(Assume size of int to be $2$ bytes.)T...
251
views
0 answers
0 votes
Debargha Mitra Roy asked Apr 12
251 views
Problem Statement: Class teacher to IX-C wants to store whether a particular student has passed in exams. The class has a strength of $32$ students. Their roll numbers li...
216
views
2 answers
0 votes
Debargha Mitra Roy asked Apr 10
216 views
What is the output of the below code?#include <stdio.h void main() { static int var = 5; printf("%d ", var ); if (var) main(); }a. 1 2 3 4 5b. 1c. 5 4 3 2 1d. Error
311
views
1 answers
2 votes
SSR17 asked Feb 29
311 views
#include <stdio.h int main() { int i = -1; int x = (unsigned char)i; printf("%d", x); return 0; }output is 255 , but please explain how