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 polymorphism means?

624


What are oops functions?

585


What does <> mean pseudocode?

624


What is the renewal class?

2169


What is object in oops?

615






What is encapsulation oop?

578


What is inheritance in oop?

604


What is polymorphism explain?

693


What are constructors in oop?

595


How to improve object oriented design skills?

569


How do you explain polymorphism?

592


What are the data types in oop?

608


Why do we use polymorphism in oops?

581


What is encapsulation selenium?

554


What is encapsulation with example?

581