I am very confused, because from what I learned, pointers store the addresses of the data they point to. But in some codes, I see strings often assigned to pointers during initialization.
What exactly is happening with the string?
Does the pointer indicate to automatically assign an address to store the string and point to this address?
How does dereferencing work in line pointers?
source
share