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.

24th Sep 2017, 7:48 AM
Muhammad Belal
Muhammad Belal - avatar
5 Respostas
+ 10
Anything which is not 0 and not false is true.
24th Sep 2017, 8:02 AM
Hatsy Rei
Hatsy Rei - avatar
+ 1
I think the answer is A i.e. 1 as 1 means true and can be used inside if statement.
24th Sep 2017, 7:58 AM
Lakshay
Lakshay - avatar
+ 1
It means, correct answer is E. All of the above. Am I right ?
24th Sep 2017, 8:24 AM
Muhammad Belal
Muhammad Belal - avatar