To compare two c-strings you use the __________ function.

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


strcmp or strncmp

Computer Science & Information Technology

You might also like to view...

What is the value of the bool valued expression, 1 < x < 10? Does the value of this depend on the value of x? Explain, and give the expression that the programmer probably meant.

a) This statement is incorrect as it is always false. b) This statement is correct and its value depends on x. c) This statement is incorrect and it is always true d) This statement is incorrect, but it does depend on the value of x.

Computer Science & Information Technology

Which of the following are Standard Template Library components?

a. Templates b. Generic Algorithms c. Template Containers d. Iterators e. Classes f. Structs

Computer Science & Information Technology

Which of the following is an upgraded version of the SSL protocol and is a cryptographic protocol providing secure communications over computer networks?

A. TCP B. SSDP C. TLS D. HTTP

Computer Science & Information Technology

Laura has an index card file of recipes that she wants to store on her Mac. They are catalogued alphabetically, but she would rather group them by types of dishes.Laura decides to create a Word document and list meat dishes, vegetable dishes, appetizers, and desserts in four separate columns. She can do this after clicking Columns on the ____ menu.

A. File menu B. View menu C. Edit menu D. Format menu

Computer Science & Information Technology