-
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 ;
}
-
- 2 in 16-bit compiler like TC/TC++, 4 in 32-bit compiler like Visual studio or gcc
- 4 in 16-bit compiler like TC/TC++, 2 in 32-bit compiler like Visual Studio or gcc
- 4 in 16-bit compiler like TC/TC++, 4 in 32-bit compiler like Visual Studio or gcc
- 2 in 16-bit compiler like TC/TC++, 2 in 32-bit compiler like Visual studio or gcc
Correct Option: A
2 in 16-bit compiler like TC/TC++, 4 in 32-bit compiler like Visual studio or gcc