IT
IT Tools
Handy online tools for developers
Cheatsheets
Search tools
⌘K
EN
All quizzes
C++
Intro
Multiple choice
A.
nullptr has a distinct pointer type (std::nullptr_t), so it resolves overloads correctly and never binds to an int parameter.
B.
nullptr is faster at runtime because it skips a memory check.
C.
NULL was removed from the language in C++11, so it no longer compiles.
D.
nullptr automatically frees the pointer it is assigned to.
Submit
Open the cheat sheet
Previous
Next