Which of the following statement is correct about the program given below? #include<iostream.h>
class CuriousTab
{
int x, y;
public:
void SetValue(int &a, int &b)
{
a = 100;
x = a;
y = b;
Display();
}
void Display()
{
cout<< x << " " << y;
}
};
int main()
{
int x = 10;
CuriousTab objCuriousTab;
objCuriousTab.SetValue(x, x);
return 0;
}
Correct Answer: The program will print the output 100 100.