strcmp(first, second) returns

a. <0 if first < second, 0 if first == second, positive otherwise
b. true if first=second, false otherwise
c. nothing, it's a void function
d. >0 if first < second, 0 if first > second, <0 otherwise


a. <0 if first < second, 0 if first == second, positive otherwise

Computer Science & Information Technology

You might also like to view...

Which statement would be used to declare a 10-element integer array c?

a. array c = int[10]; b. c = int[10]; c. int array c[10]; d. int c[10];

Computer Science & Information Technology

What is a default constructor? How are an object’s data members initialized if a class has only an implicitly defined default constructor?

What will be an ideal response?

Computer Science & Information Technology

The motherboard is sometimes called a(n) ______ board.

A. processor B. system C. unit D. security

Computer Science & Information Technology

Describe how to find an element in a binary search tree. You may use English sentences or pseudocode.

What will be an ideal response?

Computer Science & Information Technology