lemmydividebyzero@reddthat.com to Technology@lemmy.worldEnglish · 3 months agoName before type: why 'age int' is better than 'int age'benhoyt.comexternal-linkmessage-square53linkfedilinkarrow-up155arrow-down122
arrow-up133arrow-down1external-linkName before type: why 'age int' is better than 'int age'benhoyt.comlemmydividebyzero@reddthat.com to Technology@lemmy.worldEnglish · 3 months agomessage-square53linkfedilink
minus-squarejdr@lemmy.mllinkfedilinkEnglisharrow-up7arrow-down1·3 months agoThat’s why you write int *x, y, **z; C doesn’t write like “x is an int-pointer”, rather it says “dereferencing x will get you an int”.
That’s why you write
int *x, y, **z;
C doesn’t write like “x is an int-pointer”, rather it says “dereferencing x will get you an int”.