Multiple Choice
You can replace lines 5 and 6 in the following function with ____.
1 /* copy string2 to string1 */
2 void strcopy(char string1[], char string2[])
3 {
4 int i = 0;
5 while (string1[i] = string2[i])
6 i++;
7 }
A) while (*string1 = *string2) ;
B) while (*string1 = string2) ;
C) while (*string1++ = *string2++) ;
D) while (*++string1 = *++string2) ;
Correct Answer:

Verified
Correct Answer:
Verified
Q18: Consider the following declarations of a function
Q19: Addresses cannot be incremented or decremented using
Q20: When initializing pointers you must be careful
Q21: Pointers _ be initialized when they are
Q22: Access to an array using a subscript
Q24: The following code is valid in C:<br>char
Q25: A suitable equivalent to the function header
Q26: When working with pointers, the _ tells
Q27: After creating two variables as follows:<br>Char message1[81]
Q28: One advantage of using subscripts for array