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!

При якому значенні змінної 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
Алгоритм це:
0%
0%
0%
0%
0%
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
Якого значення набуде змінна

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

int x = 7, y=10;

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

py = px; *py = 22; *px += 31;

View this question

Задайте відповідність між функціями та їх призначенням

View this question

Чи працюватиме код поданий далі? Якщо так, то який результат його виконання?

#include <iostream>

using namespace std;

struct P

{

char * str;

int a;

};

P* create() {

P* ptr = new P;

ptr->str = new char[6];

strcpy_s(ptr->str,6, "Hello");

ptr->a = 10;

return ptr;

}

void main() {

P* o = create();

cout << o->str << "\t" << o->a << "\n";

}

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