C++ Const Pointers vs Pointer To Const

Publicado em: 13 March 2024
no canal de: Kenny Yip Coding
872
36

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 Visual Studio Code  

Subscribe for more coding tutorials 😄!


Nesta página do site você pode assistir ao vídeo on-line C++ Const Pointers vs Pointer To Const duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Kenny Yip Coding 13 March 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 872 vezes e gostou 36 espectadores. Boa visualização!