Which of the following declarations correctly creates a c-string that can hold the value "phonebook"

a. char s1;
b. char s1[9];
c. char s1=10;
d. char s1[10];

d. char s1[10];

Computer Science & Information Technology

You might also like to view...

To import data into Access, click the ________ tab

A) DATABASE TOOLS B) IMPORT & LINK C) EXTERNAL DATA D) CREATE

Computer Science & Information Technology

Assume double[][] x = new double[4][5], what are x.length and x[2].length?

a. 4 and 4 b. 4 and 5 c. 5 and 4 d. 5 and 5

Computer Science & Information Technology