13. What will be the output of following code :
// Assume all header files are included
#define FALSE -1
#define NULL 0
#define TRUE 1
int main(){
if(NULL)
printf("NULL");
else if(FALSE)
printf("TRUE");
else
printf("FALSE");
return 0;
}
A. TRUE
B. FALSE
C. NULL
D. Error
View Answer & Explanation
Ans. a
14. What will be the output of following code :
// Assume all header files are included
main()
{ int i;
if(true)
printf("work");
else
printf("not work");
return 0;
}
A. work
B. not work
C. compiler error
D. runtime error
View Answer & Explanation
Ans. a
