Sail E0 Webinar
Question

What would be the output of the program in 16 bit platform (Turbo C under DOS)?


#include<stdio.h>
int main()
{
extern int a;
printf("\n%d",a);
return 0;
}
int a = 20;
Options:
A .  20
B .  0
C .  Garbage Value
D .  Error
Answer: Option A



Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers