A) determines and returns the area of a circle
B) takes a Circle structure as a parameter, does something, and returns a Circle structure
C) operates on a constant reference to a Circle structure
D) takes two Circle parameters and does something
E) None of these
Correct Answer
verified
Multiple Choice
A) may
B) may not
C) will always
D) can never
E) None of these
Correct Answer
verified
Multiple Choice
A) variables
B) abstract data types (ADTs)
C) functions
D) parameters
E) None of these
Correct Answer
verified
Multiple Choice
A) the ampersand (&)
B) an asterisk (*)
C) the -> operator
D) the <- operator (<-)
E) None of these
Correct Answer
verified
Multiple Choice
A) true
B) False
C) This is an error. You cannot compare enumerators with relational operators.
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) function parameter
B) structure member
C) function return type
D) All of these
E) None of these
Correct Answer
verified
Multiple Choice
A) output the dereferenced value pointed to by p
B) result in a compiler error
C) output the address stored in p
D) output the value stored in a
E) None of these
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) initialization
B) abstraction
C) detailed specification
D) initiation
E) None of these
Correct Answer
verified
Multiple Choice
A) the address of a structure variable
B) the dereferenced address of a structure tag
C) the name and address of the structure tag
D) the address of a structure tag
E) None of these
Correct Answer
verified
Multiple Choice
A) a member
B) an array
C) a tag
D) None of these
Correct Answer
verified
Multiple Choice
A) square bracket
B) period
C) semicolon
D) colon
E) None of these
Correct Answer
verified
Multiple Choice
A) employee[2] -> hourlyWage = 50.00;
B) employee2.hourlyWage = 7.50;
C) hourlyWage[2].employee = 29.75;
D) employee[2].hourlyWage = 75.00;
E) None of these
Correct Answer
verified
Multiple Choice
A) is illegal in C++
B) will change the name of the second book in bookList to 't'
C) will store the character 't' in the fourth element of the publisher member of bookList[2]
D) will result in a runtime error
E) None of these
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Showing 21 - 40 of 46
Related Exams