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

can inline function declare in private part of class?

4418


What language is oop?

1025


What is polymorphism what is it for and how is it used?

1024


What is the full form of oops?

1195


What is an example of genetic polymorphism?

1190


What does sksksk mean in text slang?

2128


What is pure oop?

1117


can we make game by using c

4157


What makes a language oop?

1075


How to improve object oriented design skills?

1021


What is polymorphism explain its types?

1173


Get me an image implementation program.

1995


What is polymorphism what are the different types of polymorphism?

1017


What is the difference between encapsulation and polymorphism?

1121


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1863