Which of the following is not true of class template vector?

a. The size of a vector can be changed after it is declared.
b. A vector can be assigned to another vector by using the assignment operator.
c. A vector object can be initialized with a copy of another vector by invoking the copy constructor.
d. A vector can store only data of type int.

d. A vector can store only data of type int

Computer Science & Information Technology

You might also like to view...

Draw a use case diagram for an ATM (cash terminal). The system includes two actors: a customer, who draws money from his account either on the money chip on his bank card or in cash, and a security man, who fills money into the ATM.

Use cases should include: DrawCash, LoadMoneyChip, CheckAccountBallance, FillATM. Also include the following exceptional cases: OutOfMoney, TransactionAborted (i.e., customer selected the cancel button without completing the transaction) and MoneyChipOutOfOrder. Remark: It is possible to use inheritance between use cases! Write the flow of events and specify all fields for the use case CheckAccountBalance that you drew before. Specify relationships.

Computer Science & Information Technology

Which of the following statements best describes data replication?

A) The process of copying data to another drive weekly B) The process of copying data to a second location that is available for immediate use C) The process of copying and storing data that could be restored to its original location D) The process of copying data to the cloud

Computer Science & Information Technology