Arrays vs Pointers in C++

Day 6/30 – Arrays ≠ Pointers Today was about memory clarity. arr is not a pointer. But it behaves like one. • arr vs &arr[0] • *(arr + i) == arr[i] • Why array name can’t be reassigned The more I understand memory, the fewer “magic” errors I make. 6 days in. Getting sharper. #30DaysOfCode #Cplusplus #DSA #Programming #BuildInPublic

  • text

To view or add a comment, sign in

Explore content categories