Answered
Line ____ in the following section of code checks for the end-of-string character.
1 void strcopy (char string1[], char string2[])
2 {
3 int i = 0;
4
5 while (string2[i] != '\0')
6 {
7 string1[i] = string2[i];
8 i++;
9 }
10 string1[i] = '\0';
11 }
A) 3
B) 5
C) 7
D) 10
On Jun 11, 2024