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;

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

}

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

foo(str2, str);

fputs(str2, stdout);

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

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

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