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
Q39: Consider the declarations
Int nums[100];
Int *nPtr;
The statement _
Q40: Adding _ to a pointer causes the
Q41: Of the following expressions, _ is the
Q42: int *ptNum = &miles; is _.
A)always valid
B)never
Q43: Consider the following declarations of a function
Q44: If nums is a two-dimensional integer array,
Q45: If nums is a two-dimensional integer array,
Q46: A suitable equivalent to the function header
Q47: The header line _ declares calc to
Q49: After creating two variables as follows:
Char message1[81]
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents