Which of the following statement is correct about the program given below? #include<iostream.h>
class CuriousTabSample
{
private:
int AdditionOne(int x, int y = 1)
{
return x * y;
}
public:
int AdditionTwo(int x, int y = 1)
{
return x / y;
}
};
int main()
{
CuriousTabSample objCuriousTab;
cout<<objCuriousTab.AdditionOne(4, 8)<<" ";
cout<<objCuriousTab.AdditionTwo(8, 8);
return 0;
}
Correct Answer: The program will report compile time error.