C++ Null Pointers

Subscribers:
50,600
Published on ● Video Link: https://www.youtube.com/watch?v=1QMJQ8dCzJQ



Category:
Let's Play
Duration: 8:28
297 views
27


Null Pointers in C++. In this video, we will cover how to correctly declare multiple pointers in a single line and assign each one a memory address in a single line. In addition, we will talk about the nullptr, NULL, and 0, which should be assigned to a pointer that does not have a memory address to point to. We should never try to dereference a pointer that is not assigned a memory address as this could lead to segmentation faults.

If you need to review these topics:
Pointers: https://youtu.be/FSOnAszRFTk
Multiple Variables in One Line: https://youtu.be/Kp86rk8gxYo

C++ Playlist:
https://www.youtube.com/playlist?list=PLnKe36F30Y4ZDNIOZ51sX25pWKQ1pkpTE

Install C++ with VS Code:
https://youtu.be/DMWD7wfhgNY

Subscribe for more coding tutorials 😄!







Tags:
nullptr c++
c++ nullptr
c++ null pointers
null pointers c++
C++ null pointers
null pointers C++
null pointers in C++
null pointers in c++
c++ null pointer
C++ nullpointer
nullpointer C++
nullptr C++
C++ nullptr
nullptr in c++
nullptr in C++
null pointer c++
null pointer in c++
pointers in c++
pointers c++
c++ pointers
c++ pointer
pointers in C++
pointer in c++
C++ pointers
pointers C++
pointer C++
C++ pointer
nullpointer c++