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
What is difference between oop and pop?
Is abstract thinking intelligence?
What is encapsulation in oops?
What is the full form of oops?
when to use 'mutable' keyword and when to use 'const cast' in c++
What is abstract class in oop?
What is the difference between a mixin and inheritance?
What is an interface in oop?
What is an example of genetic polymorphism?
What is multilevel inheritance explain with example?
Can destructor be overloaded?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
What is encapsulation c#?
write knight tour problem which is present in datastructure
What is oops?what is its use in software engineering?