logo

Crowdly

Write the exact text printed to the standard output stream by the following co...

✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.

Write the exact text printed to the standard output stream by the following code fragment:

enum { MAX_STR_LEN = 256 };

void foo(char array1[], char const array2[]) {

int i = 0, j = 0;

while (array1[i++]);

--i;

while (array1[i++] = array2[j++]);

}

char str[MAX_STR_LEN] = "FourScore", str2[MAX_STR_LEN] = "AndSeven";

foo(str, str2);

fputs(str, stdout);

Більше питань подібних до цього

Хочете миттєвий доступ до всіх перевірених відповідей на distance3.sg.digipen.edu?

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