What does the code "cout<<(0==0);" print?
1) 0
2) 1
3) Compiler error: Lvalue required
Answer Posted / radha
it prints 1
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is polymorphism and its types?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is inheritance in oop?
What is oops and its features?
Which language is pure oop?
What does <> mean pseudocode?
What does and I oop and sksksk mean?
What is the purpose of polymorphism?
What is basic concept of oop?
How to hide the base class functionality in Inheritance?
Why do we use class?
How do you use inheritance in unity?
What is encapsulation selenium?
Where You Can Use Interface in your Project
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!!!)