CI
C++ Certified Associate Programmer
219 Questions
Question No. 1
What happens when you attempt to compile and run the following code?
#include <iostream>
using namespace std;
int mul (int a, int b=2)
{
int r;
r=a*b;
return (r);
}
int main ()
{
cout << mul(1) << mul(2,4);
return 0;
}
Choose the correct option from the given list.
01 / 219