The assignment operator has left-to-right-to-left associativity, which means that the value of the expression to the left of the assignment operator is evaluated first and that the result is assigned to the operand on the right.

Respuesta :

Answer:

True is the correct answer for the above question.

Explanation:

  • The associativity refers to the situation which helps the compiler to operate if there are multiple operators in a one-line statement. It defines which operator will perform first.
  • If there is two assignment operator then it can perform by the help of the right to left associativity, which means firstly right assignment operator will perform then the second assignment operator will perform.
  • For example a=b=5, in this statement firstly 5 value is assigned on b operator then the value of b is assigned on an operator.
  • The above question also states the same, hence the above question is a correct statement. Hence True is the correct answer for the above question.