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 benefits of oop?

652


What is coupling in oop?

608


Why do pointers exist?

671


Why is oop useful?

610


What is difference between polymorphism and inheritance?

627






What is advantage of inheritance?

696


What do you mean by abstraction?

626


What is multilevel inheritance?

734


What are the advantages of polymorphism?

585


What are the benefits of interface?

589


What are properties in oop?

617


What is oops with example?

572


What do you mean by overloading?

592


write a program that takes input in digits and display the result in words from 1 to 1000

2000


write a programe to calculate the simple intrest and compund intrest using by function overlading

1678