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
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
Which language is pure oop?
What is polymorphism and types?
How many human genes are polymorphic?
What is the difference between abstraction and polymorphism?
What is interface? When and where is it used?
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 object in oop?
How to improve object oriented design skills?
What is abstraction oop?
What is encapsulation and abstraction? How are they implemented in C++?
What is the example of polymorphism?
to find out the minimum of two integer number of two different classes using friend function
What is encapsulation in oop?
Why is oop better than procedural?