+ 6
Outdated/mixed course ?
I saw the part when initializing a pointer, pointing to nothing. In C++, since C++11, it should be `void *ptr = nullptr;` instead. It's in C that we use NULL.
4 Respostas
+ 4
You're right. Nowadays in C++ we should use nullptr instead.
+ 2
We can use NULl in c++ too
0
By convention it should be avoided. Like we can use C headers in c++ too