0

Im recently started to learn C but there is one thing that keeps confusing me about pointers.

I know that pointers reference to the adress of memory, but what is the diffrence between int* val and int *val, doesn't this all reference to val?

or else why would want to reference the type?

  • 1
    There is no difference, it's just code formatting style. – axiac Feb 01 '15 at 14:34
  • http://stackoverflow.com/questions/28260445/what-is-the-difference-between-int-i-and-int-i-in-context-of-both-c-and-c/28260455#28260455 – Gopi Feb 01 '15 at 14:37

0 Answers0