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?

1949


What polymorphism means?

813


What do you mean by variable?

764


What is stream in oop?

1047


What is the significance of classes in oop?

805


What are the 4 pillars of oop?

890


How do you achieve runtime polymorphism?

744


officer say me - i am offered to a smoking , then what can you say

1846


What is new keyword in oops?

793


What does and I oop mean?

839


what is different between oops and c++

2194


What are different oops concepts?

780


What is the purpose of polymorphism?

881


What is multilevel inheritance explain with example?

870


What is abstraction encapsulation?

866