Given the array declaration, int a[20]; The first element is written as:

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


b) a[0]

a) and d) are wrong. Array elements at index values 1 and 19 clearly are
not first, the element at 0 comes before either. c) is the address of the first element, it
is not the first element. d) there is no element 20 .

Computer Science & Information Technology

You might also like to view...

Consider the FireAlarm example as written using JGroups (Section 6.2.3). Suppose this was generalized to support a variety of alarm types, such as fire, flood, intrusion and so on. What are the requirements of this application in terms of reliability and ordering?

What will be an ideal response?

Computer Science & Information Technology

The Header & Footer button is located on the ________ tab of the Ribbon

A) Home B) Insert C) Page Layout D) View

Computer Science & Information Technology

Before you can close a database, you must save each object in the database.

a. true b. false

Computer Science & Information Technology

Which of the following is the most common public-key encryption algorithm?

DES JSA AES RSA

Computer Science & Information Technology