Computer Science, asked by sagnik50, 1 year ago

what is operator preceeedence

Answers

Answered by noor0
1
hey mate ⭐⭐⭐⭐⭐
__________

2*3+4*2
In this expression, anyone following operator precedence will get an answer as 14. If he did not follow precedence, he will get an answer 20.

Operator precedence is the evaluating order which is followed by multiple operators in a same mathematical expression. In the above expression, * has a higher precedence over +.

Refer to C Operator Precedence Tablefor the complete list of operators and their precedence and associativity followed by the C language.

I hope it will help you...

sagnik50: not only 20 but any nos.
sagnik50: anyway thanks
Answered by ashi1199
0
In mathematics and computer programming, the order of operations is a collection of rules that reflect conventions about which procedures to perform first in order to evaluate a given mathematical expression.
Similar questions