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!

Код програми, поданий нижче буде скомпільовано і виконано без помилок

0%
0%
View this question

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

char str[20] = "Unknown text\n";

char str2[] = "text\n";

if (strcmp(str, str2))

cout << "TEXT";

else cout << "Failed";

 

View this question
Якого значення набуде змінна

x унаслідок виконання фрагменту коду

int x = 7, y=10;

int *px = &x, py = &y;

py = px; *px = 22; *py = y;

View this question

Код програми, поданий нижче буде скомпільовано без помилок:

#include <iostream>

using namespace std;

 

int main()

{

int k = 3;

double mas[k] = { 1, 2, 3 };

for (int i = 0; i<k; i++)

mas[i++] += 4;

for (int i = 0; i<k; i++)

cout << mas[i];

return 0;

}

 

0%
0%
View this question

Код програми, поданий нижче буде скомпільовано і виконано без помилок

100%
0%
View this question

Код програми, поданий нижче буде скомпільовано і виконано без помилок

0%
100%
View this question

Якого значення набуде змінна Х унаслідок виконання алгоритму?

Блок-схема

View this question

Скільки разів виконається тіло циклу

int j=5; while(j<35) j += j--;

View this question
Якого значення набуде змінна

x унаслідок виконання фрагменту коду

int x = 17, y = 11;

int *px = &x, py = &y;

px = py; *px = x + y; *py = 31;

View this question

Якого значення набуде змінна Х унаслідок виконання алгоритму?

Блок-схема

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