What does the code "cout<<(0==0);" print?




1) 0


2) 1


3) Compiler error: Lvalue required

Answer Posted / manish

output will be 1.

Is This Answer Correct ?    20 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does enum stand for?

617


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

1640


What is meant by multiple inheritance?

738


Why is abstraction needed?

567


What is oops in simple words?

583






How does polymorphism work?

635


What are the 5 oop principles?

603


What is polymorphism in oop example?

516


Prepare me a program for the animation of train

2000


What is abstraction in oops?

589


What is the main feature of oop?

621


What does I oop mean?

618


What is difference between multiple inheritance and multilevel inheritance?

603


Why do we use class in oops?

555


What is encapsulation and abstraction? How are they implemented in C++?

637