C++ Const Pointers vs Pointer To Const

Поделиться
HTML-код
  • Опубликовано: 12 мар 2024
  • Const pointers vs pointer to const in C++. What is the difference? A const pointer is a pointer that cannot change the memory address that it points to. A pointer to const can change the memory address that it points to, but it cannot change the value at the memory it points to. Then, we have a const pointer to a const. This is a pointer that cannot change the memory address it points to, nor the value stored at the memory address.
    C++ Playlist:
    • C++ Programming Tutorial
    Install C++ with VS Code:
    • How to set up C++ in V...
    Subscribe for more coding tutorials 😄!

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

  • @Birandoo
    @Birandoo 4 месяца назад

    Hey! I love your game making videos in JavaScript, as that's the language I'm learning now. Could you make a video of general thought principals / mindset / philosophy to making games in general?

    • @KennyYipCoding
      @KennyYipCoding  4 месяца назад +3

      Hmm I might do a course on that some time in the future! Unfortunately I have so many projects to balance along with my full time job, don’t have enough time to start another series for the time being 😅

  • @YuhIoLLL
    @YuhIoLLL 2 месяца назад

    Cool