logo

Crowdly

Browser

Додати до Chrome

Check your knowledge: DEVELOPERS Tests

Шукаєте відповіді та рішення тестів для Check your knowledge: DEVELOPERS Tests? Перегляньте нашу велику колекцію перевірених відповідей для Check your knowledge: DEVELOPERS Tests в softserve.academy.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

Please, write what will be the output after the execution of the next code fragment:

void F(int* x) {     for (int i = 0; i < 3; i++)         x[i] += 2; } void main() {     int mas[] = { 1,2,3 };     F(mas);     for (int i = 0; i < 3; i++)         cout << mas[i]; }

In case of compilation error please, write C, in case of runtime error please, write R.

Переглянути це питання

Please, write what will be the output after the execution of the next code fragment:

void main() {     int mas[5] = { 1,2,3,4 };     int& ad = mas[4];     int* temp = mas;     *temp = ad;     ad = 5;     cout << mas[0] << mas[4]; }

In case of compilation error please, write C, in case of runtime error please, write R.

Переглянути це питання

Please, write what will be the output after the execution of the next code fragment:

void main() {     char* ptr = new char('a');     char* ptr2 = new char('b');     ptr = ptr2;     cout << *ptr << *ptr2; }

In case of compilation error please, write C, in case of runtime error please, write R.

Переглянути це питання

Please, write what will be the output after the execution of the next code fragment:

void F(int& x, int& y) {     cout << x++ << --y; }  void main() {     int a = 5;     F(a, a);     cout << a; }

In case of compilation error please, write C, in case of runtime error please, write R.

Переглянути це питання

Please, write what will be the output after the execution of the next code fragment:

void F(const int* x) {     for (int i = 0; i < 3; i++)         x[i] += 2; } void main() {     int mas[] = { 1,2,3 };     F(mas);     for (int i = 0; i < 3; i++)         cout << mas[i]; }

In case of compilation error please, write C, in case of runtime error please, write R.

Переглянути це питання

Please, write what will be the output after the execution of the next code fragment:

void main() {     int i = 0;     while (++i < 5)         cout << i;     cout << i; }

In case of compilation error please, write C, in case of runtime error please, write R.

Переглянути це питання

What gets printed?

100%
0%
0%
0%
0%
Переглянути це питання

what is the output of the following code?

types_001

0%
0%
0%
100%
0%
Переглянути це питання

What gets printed?

100%
0%
0%
0%
0%
Переглянути це питання

Which of the following print statements will print all the names in the list on a separate line

0%
0%
0%
0%
100%
Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на softserve.academy?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome