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
What is the difference between strcpy() and strncpy()?
Write a program in c++ to print the numbers from n to n2 except 5 and its multiples
Where do I find the current c or c++ standard documents?
Is c++ a high level language?
What are the uses of typedef in a program?
Differentiate between late binding and early binding. What are the advantages of early binding?
Does improper inheritance have a potential to wreck a project?
Explain how the virtual base class is different from the conventional base classes of the opps.
What is iterator c++?
What are the different types of polymorphism in c++?
What is private public protected in c++?
Difference between pointer to constant and constant pointer to a constant. Give example.
Is c the same as c++?
When one must use recursion function? Mention what happens when recursion functions are declared inline?
Explain one method to process an entire string as one unit?