News for hackers. Stuff that matters.
Re:C Pointers Explained, Really (2012) by simula67 on Tuesday November 25, 2014 @01:23AM (#8656605)
When used within the context of pointers, it helps to think of '*' as the 'at address' operator and '&' as the 'address of' operator. Especially when reading code.
Re:C Pointers Explained, Really (2012) by wnoise on Tuesday November 25, 2014 @02:57AM (#8656789)
A shame they didn't use "@" for the dereference operator...
Re:C Pointers Explained, Really (2012) by Dewie on Tuesday November 25, 2014 @04:11AM (#8656962)
Wouldn't that also have made parsing simpler?
Re:C Pointers Explained, Really (2012) by gear54rus on Tuesday November 25, 2014 @01:29AM (#8656617)
Used to think of '*' as 'value of' or 'value at' using the same logic :)