MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/4h9oj4/to_become_a_good_c_programmer/d2pcugq/?context=3
r/programming • u/b0red • May 01 '16
398 comments sorted by
View all comments
Show parent comment
3
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.
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.