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

Explain function overloading

963


How do you write a function that can reverse a linked-list?

1056


Why do we need runtime polymorphism in c++?

975


What problems might the following macro bring to the application?

984


What are the new features that iso/ansi c++ has added to original c++ specifications?

1065


Can I run c program in turbo c++?

971


How can you link a c program with a c function?

1012


Which c++ operator cannot overload?

923


an integer constant must have atleast one a) character b) digit c) decimal point

983


Write a Program for dynamically intialize a 2 dimentional array. Eg:5x20, accept strings and check for vowels and display the no.finally free the space allocated .

1093


Explain binary search.

945


What is c++ library?

997


Write a struct time where integer m, h, s are its members?

918


Explain storage qualifiers in c++.

1032


What is a local variable?

1038