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 / harminder

I think it will be

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

Is This Answer Correct ?    4 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about Garbage Collector?

1060


What is the limitation of cin while taking input for character array?

1985


Why we use #include conio h in c++?

990


What are the restrictions apply to constructors and destructors?

1028


What is meant by the term name mangling in c++?

906


What is protected inheritance?

1005


Is c++ a low level language?

915


Why is c++ still popular?

984


Why do we use using namespace std in c++?

1023


What is data binding in c++?

902


Out of fgets() and gets() which function is safe to use and why?

1128


What are c++ stream classes?

986


Do you know what are pure virtual functions?

1103


What is c++ hash?

1054


To which numbering system can the binary number 1101100100111100 be easily converted to?

997