Logical operation! | Sololearn: Learn to code for FREE!


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.

9/24/2017 7:48:57 AM

Muhammad Belal

5 Answers

New Answer


Anything which is not 0 and not false is true.


I think the answer is A i.e. 1 as 1 means true and can be used inside if statement.


It means, correct answer is E. All of the above. Am I right ?