11. What will be the output of following code :
// Assume all header files are included
int main()
{
int a = NULL - true;
printf("%d",a);
return 0;
}
A. -1
B. Garbage Value
C. 0
D. ERROR
View Answer & Explanation
Ans. a
12. What will be the output of following code :
// Assume all header files are included
main()
{
extern int iExtern;
iExtern = 20;
printf(%d,iExtern);
}
A. 2
B. 20
C. Error
D. Warning
View Answer & Explanation
Ans. c
