Beginner C++
Q35 / 100

What is a nullptr?

Correct! Well done.

Incorrect.

The correct answer is B) A type-safe null pointer constant introduced in C++11

B

Correct Answer

A type-safe null pointer constant introduced in C++11

Explanation

nullptr is the C++11 null pointer constant of type std::nullptr_t. It's safer than NULL or 0 because it doesn't convert to int.

Progress
35/100