What does the code "cout<<(0==0);" print?
1) 0
2) 1
3) Compiler error: Lvalue required
Answer Posted / ankesh kumar
Output of this question will be 1,
becoz on comparision(0==0) it will print the value true ie
1.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is oops and why we use oops?
Why do we use oops?
How do you explain polymorphism?
What is polymorphism programming?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What is abstraction in oop?
Write a program to sort the number with different sorts in one program ??
How do you define social class?
What is object in oop with example?
What is a null tree?
Why do we need polymorphism in c#?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
Can we define a class within the interface?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
Whats oop mean?