1.

What will be the output of the following C code?
#include <stdio.h>
main()
{
int N = 15;
printf("Size of N is %d, ", sizeof(++N));
printf("Value of N is %d", N);
};

A. Size of N is 4, Value of N is 15
B. Compilation Error
C. Garbage value
D. Size of N is 15, Value of N is 4
E. None of these
Answer» B. Compilation Error


Discussion

No Comment Found

Related MCQs