1.

What will be the output of the program? #include int main() { float *p; printf("%d\n", sizeof(p)); return 0; }

A. 2 in 16bit compiler, 4 in 32bit compiler
B. 4 in 16bit compiler, 2 in 32bit compiler
C. 4 in 16bit compiler, 4 in 32bit compiler
D. 2 in 16bit compiler, 2 in 32bit compiler
Answer» B. 4 in 16bit compiler, 2 in 32bit compiler


Discussion

No Comment Found

Related MCQs