A) *&ptr
B) &*ptr
C) *ptr
D) ptr
Correct Answer
verified
Multiple Choice
A) Is a binary operator.
B) Returns the total number of elements in an array.
C) Usually returns a double.
D) Returns the total number of bytes in a variable.
Correct Answer
verified
Multiple Choice
A) Contain memory addresses.
B) Reference values directly.
C) Pass an argument by reference.
D) Manipulate dynamic data structures.
Correct Answer
verified
Multiple Choice
A) Command-line arguments.
B) Storing an extremely long string.
C) Storing multiple copies of the same string.
D) Displaying floating-point numbers to the screen.
Correct Answer
verified
Multiple Choice
A) array c = int[10];
B) c = int[10];
C) int array c[10];
D) int c[10];
Correct Answer
verified
Multiple Choice
A) By reference with reference arguments.
B) By value.
C) By reference with pointer arguments.
D) By value with pointer arguments.
Correct Answer
verified
Multiple Choice
A) int a
B) int &a
C) int *a
D) No conversion is necessary.
Correct Answer
verified
Multiple Choice
A) A nonconstant pointer to nonconstant data.
B) A nonconstant pointer to constant data.
C) A constant pointer to nonconstant data.
D) A constant pointer to constant data.
Correct Answer
verified
Multiple Choice
A) Two int variables.
B) One pointer to an int and one int variable.
C) Two pointers to ints.
D) The declaration is invalid.
Correct Answer
verified
Multiple Choice
A) They contain the starting address of the function code.
B) They are dereferenced in order to call the function.
C) They can be stored in arrays.
D) They can not be assigned to other function pointers.
Correct Answer
verified
Multiple Choice
A) A nonconstant pointer to nonconstant data.
B) A nonconstant pointer to constant data.
C) A constant pointer to nonconstant data.
D) A constant pointer to constant data.
Correct Answer
verified
Multiple Choice
A) The built-in array must be declared static in the function.
B) The built-in array parameter can be preceded by the const qualifier.
C) A copy of the built-in array must be made inside the function.
D) The built-in array must be passed by reference.
Correct Answer
verified
Showing 21 - 32 of 32
Related Exams