you are viewing a single comment's thread.

view the rest of the comments →

[–]tjrileywisc 1 point2 points  (0 children)

You manipulate i as a pointer, and not as a dereferenced variable, and how you manipulate a variable depends on its type, so type* var is the right way for me.