Answer will 8 or 9? i got 9 (according to me no optimization should be done in Intermediate representation form)
https://csedoubts.gateoverflow.in/27792/intermediate-generation-operators-arithmetic-expression
https://en.wikipedia.org/wiki/Three-address_code