Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by whitelisting our website.

Cpp Programming Quiz 151 – Which of the following statement is correct about the program given below?

Question: Which of the following statement is correct about the program given below?

#include
int BixTest(int x, int y);
int BixTest(int x, int y, int z = 5);
int main()
{
cout<< BixTest(2, 4) << endl; return 0; } int BixTest(int x, int y) { return x * y; } int BixTest(int x, int y, int z = 5) { return x * y * z; }

[A].The program will print the output 5.
[B].The program will print the output 8.
[C].The program will print the output 40.
[D].The program will report compile time error. 

Answer: Option D