Question PRG-CPP-0002
EasyWhat does the scope resolution operator :: do?
- A.
Accesses a name in a particular scope, such as a namespace or class
- B.
Compares two values
- C.
Allocates memory
- D.
Ends a statement
Show answer and explanation
Answer: A
std::cout names cout in the std namespace; Box::count names a static member.