Beginner C++
Q23 / 100

What is a namespace?

Correct! Well done.

Incorrect.

The correct answer is B) A region that provides scope to identifiers, preventing name collisions

B

Correct Answer

A region that provides scope to identifiers, preventing name collisions

Explanation

namespace myLib { ... } groups related names. using namespace std; brings all std names into scope.

Progress
23/100