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 are the decision making statements in C++? Explain if statement with an example?
What do the keywords volatile and mean mutable?
What is size of a empty class?
7 Answers Microsoft, Tata Elxsi, Wipro,
What is array in c++ example?
Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator
what is meaning of isa and hsa
What is compilation?
What are features of c++?
What is the difference between method overloading and method overriding in c++?
Is C++ case sensitive a) False b) Depends on implementation c) True
Are php strings immutable?