What does the code "cout<<(0==0);" print?
1) 0
2) 1
3) Compiler error: Lvalue required
Answer Posted / sanish joseph
hey guys ans is 1.
coz (0==0)retuns 1as it is true;
| Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
What is difference between multiple inheritance and multilevel inheritance?
What is the important feature of inheritance?
What is abstraction oop?
What is difference between polymorphism and inheritance?
What is the point of oop?
Prepare me a program for the animation of train
What is an advantage of polymorphism?
Which type does string inherit from?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What is the difference between encapsulation and polymorphism?
How to use CMutex, CSemaphore in VC++ MFC
What is persistence in oop?
How do you use inheritance in unity?
How long to learn object oriented programming?
What exactly is polymorphism?