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 benefits of c++?
what is the difference between overloading & overriding? give example.
What are keywords in c++?
Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);
founder of c++
7 Answers Microtek, TCS, TeleCommand,
You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()
How much is size of struct having 1 char & 1 integer?
Define pure virtual function?
which operator is used for performing an exponential operation a) > b) ^ c) none
What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?
What is lvalue?
Difference between class and structure.