Junior — Middle
Can you explain what infix notation is?
sobes.tech AI
Answer from AI
Infix notation is a way of writing arithmetic and logical expressions where the operator is written between two operands. It is the most familiar and common way of writing expressions in mathematics and programming.
Example of infix notation:
3 + 4
(5 * 6) - 2
Unlike infix notation, there are prefix (operator before operands) and postfix (operator after operands) notations, which are often used in computational algorithms and parsers.