i know that tail_++ means that first evaluate exp using tail_ then add one ,
but what confuses me is that when it return value of tail_ "still before add",
the expression is still not finished" ,
or does it divide to two hidden expressions?"
so when it is divided by % ,
will the value of tail_be incremented or not???
i hope for answer like this:
first: tail_ is or is not incremented
second:the incremented or non incremented tail_ is divided by %
third:the array is indexed by what ever resulted in first and second
fourth:if tail_ was not incremented before and will do after array index establishment please say
thanks alot
what makes my question different is that i could not understand the impact of presence of 2 operators "++,%" with certain precedence inside same parentheses.
and then i could not understand how the expression is considered ended"does it end after each operation done?",
and in this case tail_++ with higher precedence will end first then tail_ should change value??
but this was not the case because i guess from answers that there is return object and some mysterious thing which cause the array bracket to suspend tail_++ till after getting value from array.
this is the code snippet!
data[tail_++ %maxsize]