Consider the following declaration: char str[15];. Which of the following statements stores "Blue Sky" into str?

A. str = "Blue Sky";
B. str[15] = "Blue Sky";
C. strcpy(str, "Blue Sky");
D. strcpy("Blue Sky");


Answer: C

Computer Science & Information Technology

You might also like to view...

A state chart diagram is created for:

A) a single class. B) a single use case. C) an activity on an activity diagram. D) a group of classes connected with relationships.

Computer Science & Information Technology

The minimum hard drive storage for a Windows 8.1 64-bit installation is ________

a. 10 GB b. 20 GB c. 40 GB d. 80 GB

Computer Science & Information Technology

Which security program document is usually established after all the other documentation has been created and implemented?

A. Guidelines B. Procedure C. Baselines D. Standards

Computer Science & Information Technology

? ? Identifying the type of website is an important part of a project plan; and the figure above lists this site type as "Billboard." Usually websites have one of a small number of main functions that do NOT include: ____.

A. online informational brochure B. site that converts HTML into XML C. site that sells products and services D. site that extracts information from databases

Computer Science & Information Technology