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
How can you find the nodes with repetetive data in a linked list?
How is objective c different from c++?
What is a lambda function c++?
What is a c++ map?
What are Virtual Functions? How to implement virtual functions in "C" ?
Mention the ways in which parameterized can be invoked.
How do you invoke a base member function from a derived class in which you’ve overridden that function?
What is the average salary of a c++ programmer?
What is const pointer and const reference?
What is singleton class in c++?
Do you need a main function in c++?
Can I have a reference as a data member of a class? If yes, then how do I initialise it?