С++

определите и объясните результат работы программы (возможно и сообщение об ошибке:


void fun(int x, int y, int& z)

{

return z + x % y;

}


void main()

{

int a = 0, x = 23, y = 10, z = 5;

a = fun(x, y, z);

cout << a;

}
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2025 SCHOLAR.TIPS - All rights reserved.