Home » C++ Programming » Functions

Which of the following statement is correct about the program given below? #include 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<

Correct Answer: The program will report compile time error.

← Previous Question

More Questions from Functions

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion