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
Explain the advantages of inheritance.
What is difference between oop and pop?
What are properties in oop?
What are the three main types of variables?
Why is oop better than procedural?
What is overloading and its types?
What is balance factor?
what is the sylabus for priliminaries?
What is the benefit of oop?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
What causes polymorphism?
what are the ways in which a constructors can be called?
What is encapsulation in ict?
What is oops in simple words?
What is the main feature of oop?