:: C Language Interview Questions ::

Click on >> (Arrow for More Questions) 

  Answer/Explaination : 

0


(Exp):
! is a logical operator. In C the value 0 is considered to be the boolean 
value FALSE, and any non-zero value is considered to be the boolean 
value TRUE. Here 2 is a non-zero value so TRUE. !TRUE is FALSE (0) 
so it prints 0.
 
 
 

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 |