#I am messing around with pointers and came across a syntax question

10 messages · Page 1 of 1 (latest)

tall topaz
#

When I have ++**x;

I get 31

but when I do **x++;

I get some random number

why?

mental bobcatBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

tall topaz
#

wait

#

was this

#

oh

#

I think I have an idea on what happened here

#

it moved the pointer one index over

#

to something else

#

precedence do be doing precedence

#

!solved