✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Наведений код є
class А
{
int i;
public:
void MyFunc( ) {i=0;}
void MyFunc( int x) { i=x;}
void MyFunc( int x, int y) { i=x+y;}
void MyFunc( int x, int y, int z = 0) { i=x+y+z;}
};
. . .
A a;
MyFunc(3, 2);