Infix, Prefix, and Postfix Expressions
Let’s discuss infix, prefix, and postfix expressions.
Infix expression
When we have an algebraic expression like A + B
, we know that variable A
is added to
variable B
. This type of expression is called an infix expression because the operator +
is between
operand A
and operand B
.
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.