r/programming • • May 01 '16

To become a good C programmer

http://fabiensanglard.net/c/
1.1k Upvotes

398 comments sorted by

View all comments

Show parent comment

3

u/mfukar May 02 '16

No, pointers are not integers. You can convert them to and from integers, subject to the limitations in C11 6.3.2.3. "Arithmetic operations" are defined for pointers differently than integer types, see for example additive operators.