English, asked by viniee4249, 7 months ago

Which of the following shows the correct hierarchy of arithmetic operations in C? *
1 point
/ + * –
* – / +
* / + –
+ – / *

Answers

Answered by sangeetha01sl
0

Answer:

The correct hierarchy of arithmetic operations in C is -

Option C - ( * / + – )

Explanation:

  • There are five arithmetic operators, +, -, *, /, and %, which represent the processes of addition, subtraction, multiplication, division and modulus respectively.
  • Note that each of these operators has a priority level (i.e., a priority in the operation). If an expression contains both multiplication and addition operations, multiplication is performed first because it has a higher priority level than addition.
  • The precedence determines when a particular operator is implemented, multiple operators are present in a single formula.

#SPJ3

Attachments:
Answered by sujiitsingh567
0

The correct hierarchy of arithmetic operations in C is (* / + -)

Explanation

  • There are five arithmetic operators, +, -, *, I, and %, which respectively represent the processes of addition, subtraction, multiplication, division, and modulus.
  • The modulus operator (%) gives the remainder when one integer is divided by another integer.
  • All of the five operators have been described with examples of codes in Table as below .
  • It should be noted that each of these operators has a precedence level, that is, priority in operation.
  • If an expression contains operation of multiplication and addition, the multiplication is performed first because it has higher precedence level than that of the addition.
  • Table shows the precedence level of different operators. In many arithmetic operations, the parentheses () are also used.
  • It is generally employed to change the precedence level, that is, priority in operation.
  • The precedence determines when a particular operator will be implemented when there are several operators in a single formula.

#SPJ2

Attachments:
Similar questions