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
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
Can you explain polymorphism?
What is abstraction in oops?
Why do we use oops?
what is the 3 types of system development life cycle
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is abstraction encapsulation?
What is an advantage of polymorphism?
How to hide the base class functionality in Inheritance?
What is polymorphism in oops?
What is polymorphism in oop example?
Why multiple inheritance is not allowed?
What is the difference between procedural programming and oops?
How do you define social class?
program for insertion ,deletion,sorting in double link list