The following array definition
int n[5] = {32, 27, 64, 18, 95, 14};
a) is correct
b) causes a syntax error because there are only five initializers and six array elements.
c) causes a logic error because there are only five elements but there are six initializers.
d) causes a syntax error because there are six initializers but only five array elements.
d) causes a syntax error because there are six initializers but only five array elements.
Computer Science & Information Technology
You might also like to view...
The space between two columns is called the gutter.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology
Which layer of the TCP/IP model uses connection-oriented protocols?
A. Internet B. Application C. Link D. Transport
Computer Science & Information Technology