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

How do you instruct your compiler to print the contents of the intermediate file showing the effects of the preprocessor?

1150


What is a tree in c++?

974


Is c++ a software?

1200


What is a .h file c++?

1045


How one would use switch in a program?

1079


What is the best way to take screenshots of a window with c++ in windows?

1056


What is a flag in c++?

1062


What is the equivalent of Pascal's Real a) unsigned int b) float c) char

1021


What is #include cmath?

1097


What is a manipulator in c++?

1237


Explain the difference between abstract class and interface in c++?

987


Write a c program for binary addition of two 8 bit numbers.

4124


How come you find out if a linked-list is a cycle or not?

1037


How can virtual functions in c++ be implemented?

1136


What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?

1116