The ____ function compares at most n characters of a string.

A. strtok()
B. strchr()
C. strnchr()
D. strncmp()


Answer: D

Computer Science & Information Technology

You might also like to view...

Polymorphism means ______________.

a. that data fields should be declared private b. that a class can extend another class c. that a variable of supertype can refer to a subtype object d. that a class can contain another class

Computer Science & Information Technology

Casting a reference stored in a superclass variable to a subclass type is called ________________ .

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Which of the following is not a suggestion given in the chapter for formatting text in a newsletter?

A) Vary font size, but not font style. B) Use bold and italics sparingly. C) Make headings at least two points larger than body text. D) Limit the use of upper case and underlining.

Computer Science & Information Technology

In the figure below, match each label with the statement that best describes it.

A. Leaves all occurrences of a word unchanged. B. Adjusts a misspelled word to be the selected suggestion. C. Passes by an occurrence of a given word. D. Puts a word in the Word dictionary.

Computer Science & Information Technology