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
Is react oop?
What are constructors in oop?
What is abstraction example?
State what is encapsulation and friend function?
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 are functions in oop?
What is use of overloading?
What are the two different types of polymorphism?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
How do you achieve polymorphism?
Why we use classes in oop?
What is polymorphism used for?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
What is and I oop mean?
which feature are not hold visual basic of oop?