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
Where is pseudocode used?
How do you answer polymorphism?
What is inheritance write a program to show use of inheritance?
What is object and example?
How do you define social class?
what is the sylabus for priliminaries?
what are the different types of qualifier in java?
explain sub-type and sub class? atleast u have differ it into 4 points?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is encapsulation c#?
Is this job good for future? can do this job post grduate student?
What is oops in simple words?
What are the components of marker interface?
What is the real life example of polymorphism?
What is persistence in oop?