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
Can comments be nested?
What is size_type?
Briefly describe a B+ tree. What is bulk loading in it?
What is the full form nasa?
Where the memory to the static variables is allocated?
What is the operator in c++?
What is called array?
What is the use of namespace std in C++?
Does there exist any other function which can be used to convert an integer or a float to a string?
How is new() different from malloc()?
daily Routine of father
What is the difference between method overloading and method overriding in c++?
What is namespace std; and what is consists of?
Differentiate between late binding and early binding.
How does a C++ structure differ from a C++ class?