Computer Science, asked by namanseth42, 5 months ago

string operators precedence​

Answers

Answered by Anonymous
9

Answer:

String concatenation and addition have the same precedence. Since they are left-associative, the operators are evaluated left-to-right. The parentheses in the second statement ensures that the second + operator performs addition instead of string concatenation.

Answered by Anonymous
100

┏─━─━─━─━∞◆∞━─━─━─━─┓

✭✮ӇЄƦЄ ƖƧ ƳƠƲƦ ƛƝƧƜЄƦ✮✭

┗─━─━─━─━∞◆∞━─━─━─━─┛

Answer:

String concatenation and addition have the same precedence. Since they are left-associative, the operators are evaluated left-to-right. The parentheses in the second statement ensures that the second + operator performs addition instead of string concatenation.

Similar questions