Given the array declaration, int a[20]; The last (legal) element is written as:

a) a[2]
b) a[0]
c) a
d) a[20]
e) a[19]


e) a[19]

a) b) and d) are wrong. Array elements at index 0 and 2 clearly are not last,
these come before element at 19. c) a, the name of the array is the address of the first
element, it is not an element. d) there is no element 20 .

Computer Science & Information Technology

You might also like to view...

Can you think of some examples of sites or apps that you find frustrating but still use? Why do you stick with them?

What will be an ideal response?

Computer Science & Information Technology

A(n) ________ is the file extension for an Access 2007-2013 database template

A) ACCDB B) MDB C) MDE D) ACCDT

Computer Science & Information Technology

________ are materials that easily conduct electricity, such as gold or copper.

A. Insulators B. Conductors C. Semiconductors D. Transistors

Computer Science & Information Technology

E-mail addresses begin with a domain name that is followed by the @ symbol and a unique user ID.

Indicate whether the statement is true or false.

Computer Science & Information Technology