The strncpy() function copies ____ from one string to another.

A. at most n characters
B. at least n characters
C. exactly n characters
D. one less than n characters


Answer: A

Computer Science & Information Technology

You might also like to view...

Which of the following are true?

a. a function can call another function. b. as long as the function is defined anywhere in your program, it can be used anywhere else. c. a function definition can contain another function definition. d. if you have function prototypes, the order in which you define your functions is important.

Computer Science & Information Technology

Which of the following is the correct way to declare a variable that represents if an order has been canceled?

BOOLEAN canceled = false; boolean canceled = false; boolean CANCELED = false; boolean canceled = FALSE;

Computer Science & Information Technology

Where is the default location for PowerPoint templates?

A) C:\Program Files\Microsoft Office\Templates B) C:\Users\Default User\Microsoft Office\Templates C) C:\Program Files\Office\Templates D) C:\Documents\Microsoft Office\Templates

Computer Science & Information Technology

XHTML requires the ________ attribute when creating an image map

Fill in the blank(s) with correct word

Computer Science & Information Technology