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
How is polymorphism achieved?
What is the main feature of oop?
What is the example of polymorphism?
what are the ways in which a constructors can be called?
What is abstraction with example?
What is multilevel inheritance explain with example?
What is abstraction oop?
Who invented oop?
program for insertion ,deletion,sorting in double link list
What do you mean by overloading?
What is data binding in oops?
Is html an oop?
What is the fundamental idea of oop?
Is enum a class?
What is polymorphism used for?