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 / manish podiyal

C): outputs the address of v.

Is This Answer Correct ?    1 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number

1225


What is the use of setprecision in c++?

976


List the special characteristics of constructor.

1141


Is dev c++ free?

985


Is c++ a good beginners programming language?

1030


Do we have to use initialization list in spite of the assignment in constructors?

956


What are enumerations?

1076


How do I run a program in notepad ++?

1068


Explain how overloading takes place in c++?

1000


Write a Program for find and replace a character in a string.

1038


Which c++ operator cannot overload?

962


program explaining feautures of c++

2410


What will the line of code below print out and why?

699


What is == in programming?

989


How would perform Pattern Matching in C++?

1196