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 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() {     char* ptr = new char('a');     char* ptr2 = ptr;     ptr = new char('b');     cout << *ptr << *ptr2; }

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] = { 1,2,3,4 };     int& ad = mas[2];     int temp;     temp = *mas + ad + *(mas + 4);     cout << temp; }

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, int& y) {     cout << x++ << --y; } void main() {     int a = 5;     F(a, 6);     cout << a; }

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

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

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

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

View this question
By the time you arrive I _______ something spectacular and dinner will be on the table waiting for you.
0%
100%
0%
View this question
It was nice to meet you. See you ___, I hope.
View this question
I _____ my dinner right now.
0%
0%
0%
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