logo

Crowdly

Browser

Add to Chrome

Обчислювальна техніка та програмування [04123]

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';

 

View this question
При якому значенні змінної y завершиться виконання цикл

у

int y = 101;

for (int x = 1; y > x; y -= x)

{

cout << x<<endl;

x++;

}

View this question

Який результат виконання наступного фрагмента коду:

int y, x = 1, total = 0;

while (x <= 5)

{

x++;

y = x*x;

total += y;

}

cout << total;

 

View this question
При якому значенні змінної y завершиться виконання цикл

у

int y = 1;

for (int x = 33; y <= x; y += y)

{

cout << x<<endl;

y++;

}

View this question
Якого значення набуде змінна х внаслідок виконання фрагменту С++ коду 

 int x = 3, y = (x++)*(--x)*(x--)*(x);

View this question

Який з перелічених типів даних не використовується в мові С?

 

View this question

Який результат виконання наступного фрагмента коду:

View this question
Алгоритм це:
View this question

Який результат виконання наступного фрагмента коду:

int a = 0;

while (a<10){

int b = 10;

while (b<0){

cout << 'a';

b--;

}

a++;

}

cout << "end\n";

 

View this question

Який результат виконання наступного фрагмента коду:

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';

 

View this question

Want instant access to all verified answers on vns.lpnu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome