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


Please Help Members By Posting Answers For Below Questions

What are the data types in oop?

608


What are classes oop?

596


What is the purpose of enum?

581


can inline function declare in private part of class?

3658


What is constructor in oop?

587






What is class and object with example?

585


Are polymorphisms mutations?

701


What is encapsulation in oops?

534


Why is polymorphism important in oop?

631


What does I oop mean?

616


What are the important components of cohesion?

554


What is oops and its features?

587


What is polymorphism in oops?

558


What is encapsulation selenium?

554


Can destructor be overloaded?

597