logo

Crowdly

Please, write what will be the output after the execution of the next code fragm...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

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.

More questions like this

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

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