What is the missing statement in the following function which copies string x into string y

1.3 What is the missing statement in the following function which copies string x into string y
void strcpy( char *x, char *y)
{
while (*y != ‘\0’)
………………… /* missing stament */
*x = ‘\0’;
}
A) x = y
B) *x++ = *y++
C) (*x)++ = (*y)++
D) none of the above


Leave a Reply