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 are the data types in oop?
What are classes oop?
What is the purpose of enum?
can inline function declare in private part of class?
What is constructor in oop?
What is class and object with example?
Are polymorphisms mutations?
What is encapsulation in oops?
Why is polymorphism important in oop?
What does I oop mean?
What are the important components of cohesion?
What is oops and its features?
What is polymorphism in oops?
What is encapsulation selenium?
Can destructor be overloaded?