Write the Hierarchy of operation?
Explain briefly?
Answers
Answered by
1
Explanation:
In a programming language, when an expression involves multiple operations, the hierarchy of operations instructs the compilers and interpreters on the order in which the expression has to be executed.operations instructs the compilers and interpreters on the order in which the expression has to be executed. Usually, the expression consists of operations like, addition, subtraction, multiplication, division, exponents, and parentheses.
The hierarchy of operations is as follows:
• Parentheses ()
• Exponents
• Multiply or Divide
• Addition or Subtraction
Parentheses
Similar questions