____ shows a correct array initialization statement.

A. char codes[6] = ['s', 'a', 'm', 'p', 'l', 'e'];
B. char codes[] = ('s', 'a', 'm', 'p', 'l', 'e');
C. char codes[] = "sample";
D. char codes[*] = {'s', 'a', 'm', 'p', 'l', 'e'};


Answer: C

Computer Science & Information Technology

You might also like to view...

Using nested loops write code to display (using document.write) a set of asterisks to create a set of “stairs.”

* ** *** **** ***** ****** *******

Computer Science & Information Technology

When responding to spelling or grammar errors, right-clicking the shortcut menu:

A) offers fewer options than the Spelling and Grammar pane. B) offers the same choices as the Spelling and Grammar pane. C) offers only alternative word choices, not actual spelling corrections. D) can only be used to open the Spelling and Grammar pane.

Computer Science & Information Technology

Match the following terms with their description:I.Parallel rangeII.Alt TextIII.Exploded pie chartIV.ArrangeV.Chart filterA.Text based interpretationB.Moves an object backward or forwardC.Has the same starting and ending pointD.Helps you to focus on particular dataE.One or more pieces are separated from the others

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

Computer Science & Information Technology

?What should be included as part of the approval process?

What will be an ideal response?

Computer Science & Information Technology