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

Cpp Programming Quiz 172 – What will be the output of the following program?

Question: What will be the output of the following program?

#include
int BixFunction(int a, int b = 3, int c = 3)
{
cout<< ++a * ++b * --c ; return 0; } int main() { BixFunction(5, 0, 0); return 0; }

[A].8
[B].6
[C].-6
[D].-8 

Answer: Option C