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);
Answers were Sorted based on User's Feedback
What is constant in c++ with example?
Explain terminate() function?
How can I learn c++ easily?
What are multiple inheritances (virtual inheritance)? What are its advantages and disadvantages?
What is a linked list in c++?
What is class invariant in c++?
What do you understand by zombie objects in c++?
What is a pdb file?
What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?
What is #include c++?
What is dynamic and static typing?
When must you use a pointer rather than a reference?