What does the code "cout<<(0==0);" print?
1) 0
2) 1
3) Compiler error: Lvalue required
Answer Posted / sumeet sharma
the ans is 1 because '==' operator on equality returns '1'
for true and returns '0' for false or inequality.
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?
Why is oop useful?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
What do you mean by variable?
#include
What is the advantage of oop over procedural language?
What is difference between data abstraction and encapsulation?
What is the real life example of polymorphism?
What is ambiguity in inheritance?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What are benefits of oop?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
What is polymorphism oop?
What is destructor example?
What does and I oop and sksksk mean?