1.

Which of the following is the correct output for the program given below?#include<stdio.h>int main ( ){ float *p; printf ( "%d n " , sizeof ( p ) ); return 0 ;}

A. 2 in 16-bit compiler like TC/TC++, 4 in 32-bit compiler like Visual studio or gcc
B. 4 in 16-bit compiler like TC/TC++, 2 in 32-bit compiler like Visual Studio or gcc
C. 4 in 16-bit compiler like TC/TC++, 4 in 32-bit compiler like Visual Studio or gcc
D. 2 in 16-bit compiler like TC/TC++, 2 in 32-bit compiler like Visual studio or gcc
Answer» B. 4 in 16-bit compiler like TC/TC++, 2 in 32-bit compiler like Visual Studio or gcc


Discussion

No Comment Found

Related MCQs