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...

By default, OpenOffice Writer documents are saved with a(n) ________ file extension

Fill in the blank(s) with correct word

Computer Science & Information Technology

What are some of the characteristics of effective security testers?

What will be an ideal response?

Computer Science & Information Technology

In URL encoded format, each space character is represented by %20.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

In HTML, tag modifiers are called ______.

A. pairs B. formats C. attributes D. specifications

Computer Science & Information Technology