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

int f() {
int I = 12;
int &r = I;
r += r / 4;
int *p = &r;
*p += r;
return I;
}
Referring to the sample code above, what is the return value
of the function "f()"?
a) 12
b) 15
c) 24
d) 17
e) 30

Answer Posted / guest

ans: 30 i.e 'e'

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What problems might the following macro bring to the application?

1055


What is algorithm in c++ programming?

1126


Write a function that swaps the values of two integers, using int* as the argument type?

1027


Write about the members that a derived class can add?

974


write a function signature with various number of parameters.

1047


What is c++ hiding?

1209


What is ios :: in in c++?

1068


What is pointer to array in c++?

1161


What is an orthogonal base class in c++?

1162


Why c++ is so important?

1079


What are all predefined data types in c++?

1126


Which operator cannot overload?

1048


What is c++ & why it is used?

1099


What is the difference between public and private data members?

1178


Explain shallow copy?

1046