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...


1. What does the following do:

void afunction(int *x)
{
x=new int;
*x=12;
}
int main()
{
int v=10;
afunction(&v);
cout<<v;
}
a) Outputs 12
b) Outputs 10
c) Outputs the address of v

Answer Posted / guest

Ten(10) is the out put

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How a modifier is similar to mutator?

1113


Is overriding possible in c++?

954


Define anonymous class.

1017


What is the most common mistake on c++ and oo projects?

928


What is the difference between a definition and a declaration?

1009


How does com provide language transparency?

967


What is a manipulator in c++?

1174


Explain "const" reference arguments in function?

1000


What is an undefined behavior and sequence points

957


What are destructors?

945


How did c++ start?

1043


Can non graphic characters be used and processed in C++?

1135


What does scope resolution operator do?

1053


Is c++ used anymore?

1039


Specify different types of decision control statements?

803