News for hackers. Stuff that matters.
Re:The 5-minute Guide to C Pointers by bnegreve on Thursday August 16, 2012 @04:24AM (#4390406)
> The * operator is used to both declare a pointer variable and to dereference a pointer depending on where it appears.

You seem to be suggesting that this is an inconsistency, it isn't:

  int *ptr;
means that

  (*ptr)
is of type ptr.

  *ptr = 3;
Means the same and affect 3 to (*ptr)
Re:The 5-minute Guide to C Pointers by qlkzy on Thursday August 16, 2012 @05:26AM (#4390573)
Don't you mean

  (*ptr)
is of type int?
Re:The 5-minute Guide to C Pointers by bnegreve on Friday August 17, 2012 @09:16AM (#4396165)
yes, of course.