Multiple Choice
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
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q34: The function _ appends str2 to the
Q35: When using _, a full path name
Q36: toupper() returns the uppercase equivalent of its
Q37: The _ routine provides for the input
Q38: The _ function stops accepting characters only
Q40: When using #include, the characters _, tell
Q41: Using string library functions requires that the
Q42: The function strtok(string, char) locates the position
Q43: When you use any of the four
Q44: When using #include, the characters _, tell