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
Explain about Garbage Collector?
What is the limitation of cin while taking input for character array?
Why we use #include conio h in c++?
What are the restrictions apply to constructors and destructors?
What is meant by the term name mangling in c++?
What is protected inheritance?
Is c++ a low level language?
Why is c++ still popular?
Why do we use using namespace std in c++?
What is data binding in c++?
Out of fgets() and gets() which function is safe to use and why?
What are c++ stream classes?
Do you know what are pure virtual functions?
What is c++ hash?
To which numbering system can the binary number 1101100100111100 be easily converted to?