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

Given the following function definition: int doit(int &x,
int y, int &z) { x = 3*x; y = y + 5; z = x+y; return z -
4; } int a = 5, b = 7, c = 9, d = 11; d = doit(a,b,c);

Answer Posted / cris

a = 15
b = 7
c = 27
d = 23

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Const char *p , char const *p What is the difference between the above two?

1199


Write my own zero-argument manipulator that should work same as hex?

1045


Can I learn c++ without learning c?

995


What are the types of container classes?

1146


How can I learn c++ easily?

1061


Why do we use constructor?

1040


How to declare a pointer to an array of integers?

1126


Where are setjmp and longjmp used in c++?

1101


Why are pointers not used in c++?

1124


Difference between class and structure.

1146


What is nested class in c++?

942


what are Operators and explain with an example?

1149


How should a contructor handle a failure?

1161


What is the best book for c++ beginners?

1033


What is the use of map in c++?

1135