Declarations and Initializations - Programming
Q1: What will be the output of the program in 16 bit platform (Turbo C under DOS)?
#include<stdio.h>
int main()
{
extern int i;
i = 20;
printf('%d\n', sizeof(i));
return 0;
}
A 2
B 4
C vary from compiler
D Linker Error : Undefined symbol 'i'
|
For help Students Orientation
Mcqs Questions
One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.
