Q. | What will be output of following c program? #include
int main(){
if(!NULL)
printf("I love profession");
else
printf("I don't love profession ");
return 0;
}
|
|||||||
|
Answer: | Option A | |
Explaination: | !NULL = !0 = 1
In if condition any non zero number mean true.
|
Discussion
Your Comments Goes here... |
Name | Discussion |
---|