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
Why is destructor used?
which feature are not hold visual basic of oop?
What are the important components of cohesion?
What is inheritance and how many types of inheritance?
Which language is pure oop?
Advantage and disadvantage of routing in telecom sector
What is polymorphism what are the different types of polymorphism?
Why multiple inheritance is not allowed?
Why is encapsulation used?
Can private class be inherited?
What is the significance of classes in oop?
Can we override main method?
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 does it mean when someone says I oop?
write a program to find 2 power of a 5digit number with out using big int and exponent ?