What is the value of 2%4*3?
Is it 2%(4*3) = 2%12 = 2
or
(2%4)* 3 = 2*3 = 6
I checked precedence rules and they say % and * have same precedence and left- to- right evaluation in case of same precedence. So, in that case, 6 must be the answer.
But when I checked calculators online, they returned 2 as answer.
So, please help me with references.
Thank you in advance.....