What does the code "cout<<(0==0);" print?
1) 0
2) 1
3) Compiler error: Lvalue required
Answer Posted / rajendra
There is a possibility of getting "compilation error" .
because after cout statement we are not using any
conditional statements to check the above condition even
though it == is there ....
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the purpose of polymorphism?
Is oop better than procedural?
What is abstraction encapsulation?
How do you achieve runtime polymorphism?
What do you mean by variable?
What is the significance of classes in oop?
write a program that takes input in digits and display the result in words from 1 to 1000
What causes polymorphism?
What is constructor in oop?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
Why do we use oops?
What is this pointer in oop?
Whats oop mean?
What are oops methods?
When not to use object oriented programming?