Hacker News new | ask | show | jobs
by sai_c 2103 days ago
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.

2 comments

When quoting code, leave a line and indent by two spaces.
Sorry, will do so in the future. Thx.
"int* p" really grinds my gears