Home » C++ Programming » Functions

Which of the following statement is correct about the program given below? #include int CuriousTabTest(int x, int y); int CuriousTabTest(int x, int y, int z = 5); int main() { cout<< CuriousTabTest(2, 4) << endl; return 0; } int CuriousTabTest(int x, int y) { return x * y; } int CuriousTabTest(int x, int y, int z = 5) { return x * y * z; }

Correct Answer: The program will report compile time error.

← Previous Question Next Question→

More Questions from Functions

Discussion & Comments

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