What does the code "cout<<(0==0);" print?
1) 0
2) 1
3) Compiler error: Lvalue required
Answer Posted / g.narsing
answer is 1 because (0==0)which is a true value
true=1
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Why do we use polymorphism in oops?
What is difference between data abstraction and encapsulation?
How do you use inheritance in unity?
What is basic concept of oop?
What is destructor example?
What is oops with example?
What is pointer in 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
What is the full form of oops?
What is polymorphism in oops with example?
What is multilevel inheritance explain with example?
What is oops and its features?
which feature are not hold visual basic of oop?
What is oops in simple words?
What are two types of polymorphism?