News for hackers. Stuff that matters.
Re:Everything you need to know about pointers in C (2010) by sai_c on Tuesday September 15, 2020 @08:02AM (#24480216)
Besides writing

  "int *p"
 
instead of

  "int* p"
 
I also always use one line per variable declaration, which should avoid confusion when the first style is used. But that's my personal preference.

Edit: corrected code quotation.

Re:Everything you need to know about pointers in C (2010) by ogogmad on Tuesday September 15, 2020 @08:04AM (#24480237)
When quoting code, leave a line and indent by two spaces.
Re:Everything you need to know about pointers in C (2010) by sai_c on Tuesday September 15, 2020 @09:03AM (#24480724)
Sorry, will do so in the future. Thx.
Re:Everything you need to know about pointers in C (2010) by darkhstarh on Tuesday September 15, 2020 @07:25PM (#24487878)
"int* p" really grinds my gears