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
What is abstraction encapsulation?
State what is encapsulation and friend function?
Why is oop useful?
What is pointer in oop?
How long to learn object oriented programming?
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
What is polymorphism explain its types?
What is byval and byref? What are differences between them?
What is overloading in oops?
What is data binding in oops?
Why is static class not inherited?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
Why is polymorphism used?
What is the problem with multiple inheritance?
what is different between oops and c++