What is the lifetime of the element in container?
A. Whole program
B. Outside the block
C. Everywhere
D. Only on that container
Answer:A
What is the lifetime of the element in container?
A. Whole program B. Outside the block C. Everywhere D. Only on that container
Explanation:A Container “owns” its elements: the lifetime of an element stored in a container cannot exceed that of the Container itself.