46. Which of the following assigns the number 5 to the area variable?
A. area 1 = 5
B. area = 5
C. area == 5
D. area –> 5
E. area < > 5
Advertisement
47. A base class may also be called a
A. child class
B. subclass
C. derived class
D. parent class
Advertisement
48. The _____ mode tells C++ to open a file for input
A. add::ios
B. in::file
C. ios::app
D. ios::in
E. ios::out
Advertisement
49. Using the wardrobe structure within the ShopList structure is an example of a good programming principle, known as _____
A. reusability
B. polymorphism
C. redundancy
D. recursion
Advertisement
< PREVIOUS POSTLanguage Processors - Section 2