What does the code "cout<<(0==0);" print?




1) 0


2) 1


3) Compiler error: Lvalue required

Answer Posted / manimegalai

compiler error

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is class and object in oops?

839


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1642


What is polymorphism explain?

979


when to use 'mutable' keyword and when to use 'const cast' in c++

1883


What is advantage of inheritance?

940


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

1914


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

3116


What are the 4 main oop principles?

946


What is an advantage of polymorphism?

821


write a C++ program for booking using constructor and destructor.

2266


What is object in oop with example?

967


What are properties in oop?

810


Why is oop better than procedural?

809


How many human genes are polymorphic?

791


What are the 3 principles of oop?

832