Multiple Choice
Assuming that string1 = "hello" and string2 = "hello world", which of the following returns 0?
A) strcmp(string1, string2) ;.
B) strcmp(string1, string2, 6) ;.
C) Strncmp(string1, string2, 5) ;.
D) strncmp(string1, string2, 6) ;.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q6: The advantages of using typedef do not
Q7: To change the string "ABCDEFGHI" to "aaaaaFGHI"
Q8: The _ function allows characters of one
Q9: Arrays are:<br>A) Always passed by reference.<br>B) Passed
Q10: The main difference between the functions atof,
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
Q15: Which of the following correctly copies the
Q16: Which function would be the most useful