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 / durga shankar mishra
write answer of the 0
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is encapsulation in oops?
What is polymorphism in oop example?
What is the example of polymorphism?
class type to basic type conversion
Advantage and disadvantage of routing in telecom sector
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
Is this job good for future? can do this job post grduate student?
How is class defined?
What are the important components of cohesion?
What is protected in oop?
What is polymorphism give a real life example?
What is the full form of oops?
What is the purpose of enum?
What are the three main types of variables?
Write a program to sort the number with different sorts in one program ??