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

What is the difference between #import and #include in c++?

1110


Can we change the basic meaning of an operator in c++?

1114


Incase of a function declaration, what is extern means?

975


Is main a class in c++?

1005


What kind of problems can be solved by a namespace?

1096


an operation between an integer and real always yeilds a) integer result b) real result c) float result

1155


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

1217


Discussion on error handling of C++ .

1122


If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?

1034


What is std namespace in c++?

1182


What is the default access level?

1070


What is function overloading in C++?

1427


What is the keyword auto for?

1040


Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?

1076


How to defines the function in c++?

1139