Re: C Reverse Polish notation expression evaluator
Code:
value = stk[stk_ptr];
stk_ptr--;
becomes:
Code:
value = stk[stk_ptr--];
All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/