C++ Null Pointers

Поделиться
HTML-код
  • Опубликовано: 17 мар 2024
  • 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...
    C++ Playlist:
    • C++ Programming Tutorial
    Install C++ with VS Code:
    • How to set up C++ in V...
    Subscribe for more coding tutorials 😄!

Комментарии • 2

  • @katmetgun
    @katmetgun 3 месяца назад +2

    This is 100% the most clear and concise video on the topic of pointers! Thank you!

  • @mfz0967
    @mfz0967 Месяц назад

    short and sweet video with a smooth af voice. Love it!!!