What is the output of the following code:
int v()
{
int m=0;
return m++;
}
int main()
{
cout<<v();
}
1) 1
2) 0
3) Code cannot compile
Answer Posted / sivasankar
output is 0
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Why oops is important?
What are two types of polymorphism?
Is enum a class?
What polymorphism means?
explain sub-type and sub class? atleast u have differ it into 4 points?
What is abstraction and encapsulation?
What is multilevel inheritance?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
What are the data types in oop?
What is the point of polymorphism?
What are the 4 pillars of oop?
Do you know about multiple inheritance?
What are classes oop?
How do you answer polymorphism?
What is the highest level of cohesion?