✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Quelle est la sortie du programme suivant ?
#include<stdio.h>
int main() {
int i = 0;
char str[10] = "abcdef";
char str2[10];
while (str[i + 1] != '\0') {
str2[i] = str[i];
i++;
}
str2[i] = '\0';
printf("%s\n", str2);
return 0;
}