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)
A. | abc () ; |
B. | abc (h) ; |
C. | abc (g, h) ; |
D. | None of the above |
Answer : D Explanation : Both the arguments are optional. All the calls are legal. |
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |