U
Q. What is the output of this program?
#include using namespace std; int add(int p, int q); int main() { int n = 15, m = 16; cout << add(n, m) << endl; return 0; } int add(int p, int q ) { int sum = p + q; p = 20; return p + q; }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. What is the output of the following code? int x = 10; cout << ++x * x++;
Q. Which variable does equals in size with enum variable?
Q. Which looping process is best used when the number of iterations is known?
Q. Reusability of code in C++ is achieved through ____
Q. In OOP which cocept provides the idea of reusability.
Q. How many objects can be created from an abstract class?
Q. What is the output of the following C++ code?
Q. A class can contain objects of other classes and this phenomenon is called_________ .
Discusssion
Login to discuss.