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
what are the ways in which a constructors can be called?
Can you inherit a private class?
Is enum a class?
Which is not an object oriented programming language?
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(); }
Why interface is used?
What is the full form of oops?
Why is oop better than procedural?
What is the oops and benefits of oops programming?
What is the real time example of encapsulation?
What is the main feature of oop?
What are the three parts of a simple empty class?
What is data binding in oops?
How do you explain polymorphism?
How oops is better than procedural?