Каков будет результат выполнения фрагмента С++ программы:
...
int i, j, s, s1, s2;
i=j=2;
s1=i++;
s2=++j;
s=s1+s2;
...
a) i = 3, j = 3, s = 5
б) i = 3, j = 3, s = 6
в) i = 3, j = 2, s = 5
г) i = 2, j = 3, s = 5
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.