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

What is conditions when using boolean operators?

1313


What is c++ library?

1092


How do I use turbo c++?

1034


When we use Abstract Class and when we use Interface?where we will implement in real time?

2242


What is the difference between passing by reference and passing a reference?

1136


How a macro differs from a template?

1223


What is runtime errors c++?

1170


What will the line of code below print out and why?

793


Explain friend class?

1186


How do you clear a set in c++?

1134


What are special characters c++?

1086


Why is c++ considered difficult?

1224


What is a constructor and how is it called?

1094


Tell me can a pure virtual function have an implementation?

1104


How the endl and setw manipulator works?

1057