Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What exactly is polymorphism?

1182


What is oops and why we use oops?

1095


Can we create object of interface?

1175


How Do you Code Composition and Aggregation in C++ ?

25613


What do you mean by abstraction?

1121


Are polymorphisms mutations?

1213


What is oops and its features?

1150


What are the 4 pillars of oop?

1204


Why is oop useful?

1170


What does and I oop mean in text?

1315


How do you define social class?

1116


What is destructor example?

1116


What are two types of polymorphism?

1121


What is encapsulation selenium?

1076


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

4212