Find Output Q.2

0. A function abc is defined as
void abc (int x=0, int y=0)
{
cout << x << y;
}
Which of the following function calls is/are illegal? (Assume h, g are declared as integers)

  • Option : D
  • Explanation : Both the arguments are optional. All the calls are legal.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *