Looking for Обчислювальна техніка та програмування [04123] test answers and solutions? Browse our comprehensive collection of verified answers for Обчислювальна техніка та програмування [04123] at vns.lpnu.ua.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
Який результат виконання наступного фрагмента коду:
char str[20] = { 0 }, str2[25];
for (int i = 0; i<5; i++)
{
str[i] = 'A' + i;
str2[i] = 'a' + i;
}
cout << str << '\t' << str2 << '\n';
у
int y = 101;
for (int x = 1; y > x; y -= x)
{
cout << x<<endl;
x++;
}
Який результат виконання наступного фрагмента коду:
int y, x = 1, total = 0;
while (x <= 5)
{
x++;
y = x*x;
total += y;
}
cout << total;
у
int y = 1;
for (int x = 33; y <= x; y += y)
{
cout << x<<endl;
y++;
}
int x = 3, y = (x++)*(--x)*(x--)*(x);
Який з перелічених типів даних не використовується в мові С?
Який результат виконання наступного фрагмента коду:
Який результат виконання наступного фрагмента коду:
int a = 0;
while (a<10){
int b = 10;
while (b<0){
cout << 'a';
b--;
}
a++;
}
cout << "end\n";
Який результат виконання наступного фрагмента коду:
int ar[2][2] = { { 1, 2 }, { 3, 4 } };
int** mas = ar;
for (int i = 0; i<2; i++)
for (int j = 0; j<2; j++)
cout << mas[i][j] << '\t';