0
Logical operation!
Hey guys! I want to know that in C programming or C++ question is : Which of the following is true ? A. 1 B. 66 C. .1 D. -1 E. All of the above You can go this URL https://www.cprogramming.com/tutorial/c/quiz//quiz2.html for more detail about this question.
3 Answers
+ 10
Anything which is not 0 and not false is true.
+ 1
I think the answer is A i.e. 1 as 1 means true and can be used inside if statement.
+ 1
It means, correct answer is E. All of the above. Am I right ?