What does the code "cout<<(0==0);" print?
1) 0
2) 1
3) Compiler error: Lvalue required
Answer Posted / sneha joshi.
There will be a compilation error as we are using "(" after insertion operator "<<". We are not assigning this value to any boolean typr variable, so we cant get answer as 0 or 1.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Whats is abstraction in oops?
explain sub-type and sub class? atleast u have differ it into 4 points?
Explain virtual inheritance?
Is enum a class?
Can destructor be overloaded?
Why do while loop is used?
What does it mean when someone says I oop?
What is and I oop mean?
What is multilevel inheritance explain with example?
write a programe to calculate the simple intrest and compund intrest using by function overlading
Get me an image implementation program.
How oops is better than procedural?
What is class and object with example?
Which language is pure oop?
What is the use of oops?