What does the code "cout<<(0==0);" print?
1) 0
2) 1
3) Compiler error: Lvalue required
Answer Posted / sanish joseph
hey guys ans is 1.
coz (0==0)retuns 1as it is true;
Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
What is an example of genetic polymorphism?
What is destructor give example?
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
What does and I oop and sksksk mean?
What is a class oop?
What is polymorphism and example?
How Do you Code Composition and Aggregation in C++ ?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is the difference between encapsulation and polymorphism?
How do you use inheritance in unity?
Why interface is used?
Write a program to reverse a string using recursive function?
What is polymorphism and why is it important?
Can a destructor be called directly?
What is encapsulation in oops?