Which of the following correctly copies the contents of string2 into string1? Assume that string2 is equal to "goodbye"; and string1 is equal to "good morning"?

a. strcpy(string1, string2);.
b. strcpy(string1, string2, 6);.
c. Strncpy(string1, string2, 5);.
d. strncpy(string1, string2, 6);.


a. strcpy(string1, string2);.

Computer Science & Information Technology

You might also like to view...

The ________ interacts with device drivers to fulfill I/O requests.

a) plug and play manager b) I/O manager c) power manager d) I/O worker thread

Computer Science & Information Technology

If a nested IF statement has 6 possible outcomes it requires ________ logical tests

A) 6 B) 7 C) 5 D) 0

Computer Science & Information Technology

When viewing the Cisco IOS routing table with the show ip route command, what code is used to denote OSPF routes that are not within the local area?

A) E2 B) IA C) E1 D) E

Computer Science & Information Technology

Referring to the figure below, please identify the letter of the choice that best matches the numbered area on the screen.

A. Research B. Design C. Build D. Test E. F. Market

Computer Science & Information Technology