3 ms·
No, I don't. If foo is a (storage of) pointer to something, to get that something from memory I use dereference operator `* so *foo = 'a'; will write value
by itsuart 10y ago
No, I don't. If foo is a (storage of) pointer to something, to get that something from memory I use dereference operator `*
so
*foo = 'a';
will write value of 'a' into memory at address that is in foo.
type* foo;
is declaration and
*foo
is dereferencing.