What is the value of alpha[2] after the following code executes? 
int alpha[5];int j;for (j = 0; j < 5; j++)  alpha[j] = 2 * j + 1; 

A. 1
B. 4
C. 5
D. 6


Answer: C

Computer Science & Information Technology

You might also like to view...

A_______ class contains a member that refers to an object of the same class.

a) self-referential. b) linked. c) data. d) None of the above.

Computer Science & Information Technology

Objects on a form or report that display the data from fields

A) Titles B) Labels C) Text boxes

Computer Science & Information Technology

The ______________ method returns the index of the fist occurrence of the specified item in the list

A. index(item) B. insert(item) C. pop(item) D. append(item)

Computer Science & Information Technology

It is safe to change data in a query since you are only changing a temporary copy of the data, not the underlying data in the table.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology