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


Please Help Members By Posting Answers For Below Questions

• What are the desirable attributes for memory managment?

1734


What is the significance of classes in oop?

598


What is variable example?

599


Can we have inheritance without polymorphism?

622


Why is polymorphism used?

592






Why is there no multiple inheritance?

575


what is the sylabus for priliminaries?

1698


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

3559


What is the point of oop?

664


Why is oop useful?

608


What is encapsulation c#?

608


What is constructor in oop?

593


What is the oops and benefits of oops programming?

561


What is abstraction with example?

616


Why polymorphism is used in oops?

592