Which of the following correctly declares name to be a character array and stores "William" in it?
A. char name[6] = "William";
B. char name[7] = "William";
C. char name[8] = "William";
D. char name[8] = 'William';
Answer: C
Computer Science & Information Technology
You might also like to view...
A standard BD has a capacity of ____ GB per layer.
A. 15 B. 20 C. 25 D. 30
Computer Science & Information Technology
What is the value of numbers.capacity() after the following code?
vector
Computer Science & Information Technology