2
11) ____ refers to the first grade stored in the grades array.
A) grades[0] B) grades(0) C) grades[1] D) grades{1}
12) To use a stored address, C provides us with an indirection operator, ____.
A) % B) & C) ^ D) *
13) ____ is a high-speed storage area physically located in the computer’s processing unit.
A) A reserved variable B) A register C) RAM D) A stack
14) The declaration statement ____ declares milesAddr to be a pointer variable that can store
the address of an integer variable.
A) int milesAddr&; B) int *milesAddr;
C) int milesAddr*; D) int &milesAddr;
15) Scaling a random number as an integer value between 1 and N is accomplished using the
expression
A) 1 + (int)rand() / N B) (int)rand() / N
C) 1 + (int)rand() % N D) (int)rand() % N
16) The portion of the function header that contains the function name and parameters is known
as a __.
A) function body B) function declaratory C) prototype D) stub
17) The logical AND operator is ____.
A) || B) ! C) && D) %%
18) The use of ____ in a C program will result in a compiler error.
A) if (age = = 40) B) if (age = 40) C) if (40 = = age) D) if (40 = age)
19) The second loop of a nested loop is called the ____ loop.
A) Inner B) Slave C) Outer D) Conditioned