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 and I oop mean?
Can abstract class have normal methods?
What is for loop and its syntax?
#include
write knight tour problem which is present in datastructure
Why is polymorphism used?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
Which type does string inherit from?
What is static modifier?
can we make game by using c
What is encapsulation in simple terms?
What is polymorphism used for?
How do you define a class in oop?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What is an interface in oop?