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 / raju
ans 0
first it return value ofter that it increment
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
to find out the minimum of two integer number of two different classes using friend function
Can an interface inherit a class?
Which method cannot be overridden?
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...
Get me an image implementation program.
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?
Templates mean
What is object in oop?
Why is object oriented programming so hard?
What is abstraction in oops?
How is class defined?
How do you define a class in oop?
Can we create object of interface?
What does <> mean pseudocode?
Can a destructor be called directly?