CPSC 335 Quiz 4
Answer the following questions with a few sentences.
- What is the purpose of namespaces?
- Can you have multiple namespace blocks which use the same name?
- What does declaring a local variable as
staticdo? - What's the difference between using
[]and.at()to access elements in a vector? - Why should
std::vector<bool>be avoided?