C++ Null Pointers
Автор: Kenny Yip Coding
Загружено: 2024-03-18
Просмотров: 1434
Описание:
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: • Pointers in C++
Multiple Variables in One Line: • C++ Multiple Variables in One Line
C++ Playlist:
• C++ Programming Tutorial
Github Repo for C++ Code:
https://github.com/ImKennyYip/cpp
Install C++ with VS Code:
• How to set up C++ in Visual Studio Code
Subscribe for more coding tutorials 😄!
⭐ If you enjoyed the tutorial and would like to support the channel, you can do so here 💖: https://buymeacoffee.com/kennyyipcoding
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: