you dereference pointer first
Printable View
I see. Thanks for clearing up that confusion :)
in that post I was using s an as array of ints
I know that. I want to perform a mathematical expression (add 3) to whatever int is pointed to by s[0].
if you say that s is array of ints
then s[0] is int - it is not a pointer