Multiple Choice
Which of the following correctly copies the contents of string2 into string1? Assume that string2 is equal to "goodbye" and string1 is equal to "good morning"?
A) strcpy(string1, string2) ;.
B) strcpy(string1, string2, 6) ;.
C) Strncpy(string1, string2, 5) ;.
D) strncpy(string1, string2, 6) ;.
Correct Answer:

Verified
Correct Answer:
Verified
Q10: The main difference between the functions atof,
Q11: Assuming that string1 = "hello" and string2
Q12: Which is the proper way to create
Q13: _ is not allowed.<br>A) Accessing individual bits
Q14: Two structure variables of the same type
Q16: Which function would be the most useful
Q17: Memcmp would return _ for the call
Q18: Strtok does not:<br>A) Replace each delimiting character
Q19: The number of bits in a bit
Q20: Let Bit1 = Bit2 = 1. Which