Examlex
What will the following code display?
#include <iostream>
using namespace std;
int getValue(int) ;
int main()
{
int x = 2;
cout << getValue(x) << endl;
return 0;
}
int getValue(int num)
{
return num + 5;
}
Q7: You must declare all data members of
Q12: If there are no nodes in a
Q15: A function cannot modify the members of
Q20: This is a dummy function that is
Q20: In C++11 reference variables that can refer
Q23: To write data to a file, you
Q24: When you work with a dereferenced pointer,
Q26: Pointers to a base class may be
Q30: The data type of a variable whose
Q33: The constructor function always has the same