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, 6);
d) strncmp(string1, string2, 5);
d) strncmp(string1, string2, 5);
Computer Science & Information Technology
You might also like to view...
Heading 1 is an example of a(n) ________
Fill in the blank(s) with correct word
Computer Science & Information Technology
Inside a function definition for a member function of an object with data member x, which of the following is not equivalent to this->x:
a. *this.x b. (*this).x c. x d. None of the above are equivalent.
Computer Science & Information Technology