:: C Language Interview Questions ::

Click on >> (Arrow for More Questions) 

  Answer/Explaination : 

TRUE


(Exp):
The input program to the compiler after processing by the preprocessor is,
main(){
if(0)
puts("NULL");
else if(-1)
puts("TRUE");
else
puts("FALSE");
}
Preprocessor doesn't replace the values given inside the double quotes. 
The check by if condition is boolean value false so it goes to else. In 
second if -1 is boolean value true hence "TRUE" is printed.
 
 

Next >>

 
 

Quick Links

| Home | C Language | All India Entrances | Previous Year Papers | Software Projects

| Project Reports | Job Alerts & Notifications | Technical Interview Questions |

| Audio Visual Notes |