Multiple Choice
What is wrong with the following code fragment?
Char str1[10]="Mark", str2[15]="What's my name";
Strcpystr1,str2) ;
A) Nothing
B) str2 has white space in it
C) str1 does not have enough room
D) str2 does not have enough room
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q19: What is the value of numbers.size) after
Q20: Vector assignment is well behaved.
Q21: The function used to 'put two c-strings
Q22: The following code declares a vector of
Q23: What is the value of numbers.size) after
Q25: What is the difference between strcat and
Q26: If the capacity of a vector named
Q27: Given the following declarations, which of the
Q28: Which assignment statements will copy the value
Q29: Which is the proper way to determine