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 are the desirable attributes for memory managment?
What is the significance of classes in oop?
What is variable example?
Can we have inheritance without polymorphism?
Why is polymorphism used?
Why is there no multiple inheritance?
what is the sylabus for priliminaries?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
What is the point of oop?
Why is oop useful?
What is encapsulation c#?
What is constructor in oop?
What is the oops and benefits of oops programming?
What is abstraction with example?
Why polymorphism is used in oops?