In case of post fix or prefix they follow specific rule which shows the order of operation to be carried out on operand.
In case of post fix : Input : cab++ Expansion c(a+b)+ ---> c+ a+b So here we followed the order where operator is following the operands.
In case of prefix : Input : +c+ab Expansion c + +ab ---> c + a + b So here we followed the where operator precedes the operand.