logo

Crowdly

Browser

Add to Chrome

Check your knowledge: DEVELOPERS Tests

Looking for Check your knowledge: DEVELOPERS Tests test answers and solutions? Browse our comprehensive collection of verified answers for Check your knowledge: DEVELOPERS Tests at softserve.academy.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Please, write what will be the output after the execution of the F() function.

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

View this question

Please, write what will be the output after the execution of the F() function.

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

View this question

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

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

View this question

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

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

View this question

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

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

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

View this question

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

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

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

View this question

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

void main() {     int mas[5] = { 0,1,2,3,4 };     *mas -= 2;     *(mas + 4) += 7;     cout << mas[0] + mas[4]; }

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

View this question

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.

View this question

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

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

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

View this question

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

void main() {     int i = 5;     do {         cout << i;     } while (i-- > 0);     cout << --i; }

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

View this question

Want instant access to all verified answers on softserve.academy?

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

Browser

Add to Chrome