2 ms·
The best advice I received about understanding C pointer (usage) syntax was to translate to English via the following substitutions: * == "at location" & == "
by feralchimp 15y ago
The best advice I received about understanding C pointer (usage) syntax was to translate to English via the following substitutions:
* == "at location"
& == "the address of"
There are cases where this doesn't work well (or at all), but it works for many of the cases that initially look like jibberish to a C noob.
For declarations, just put variables on separate lines.