Home » C++ Programming » Functions

What will be the output of the following program? #include int CuriousTabFunction(int a, int b = 3, int c = 3) { cout<< ++a * ++b * --c ; return 0; } int main() { CuriousTabFunction(5, 0, 0); return 0; }

Correct Answer: -6

← Previous Question Next Question→

More Questions from Functions

Discussion & Comments

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