Question: What is the output of the following #include ?code using namespace std; int fun(int a, int b = 1, int c=2) { } retum
What is the output of the following #include ?code using namespace std; int fun(int a, int b = 1, int c=2) { } retum (a+b+c); int main() { cout < < fun(12,,2); } retum 0;
Step by Step Solution
There are 3 Steps involved in it
The provided code has a few syntax errors that need to be corrected The corrected code shoul... View full answer
Get step-by-step solutions from verified subject matter experts
