What does the code "cout<<(0==0);" print?
1) 0
2) 1
3) Compiler error: Lvalue required
Answer Posted / sanish joseph
hey guys ans is 1.
coz (0==0)retuns 1as it is true;
| Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
How do you use inheritance in unity?
What is the point of oop?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
Is enum a class?
Who invented oop?
Explain the advantages of inheritance.
What is class and object with example?
How do you answer polymorphism?
What is polymorphism used for?
What are the two different types of polymorphism?
program for insertion ,deletion,sorting in double link list
What is multilevel inheritance?
How can you overcome the diamond problem in inheritance?
What is the difference between encapsulation and polymorphism?
When not to use object oriented programming?