1 votes 1 votes Which operator has higher priority between *and / in any expression how to evaluate them Programming in C operator-precedence programming-in-c + – Ram Swaroop asked Dec 18, 2018 edited Mar 30, 2019 by Abdul Wazeed Ram Swaroop 396 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
2 votes 2 votes see, both having the same priority, you have to evaluate start always from left to right, here I have taken an infix to postfix example to understand it.... see.. hope u can easily understand. krmanish043 answered Dec 18, 2018 krmanish043 comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes they have same priority ... evaluate left to right or right to left according to associativity... refer:https://www.geeksforgeeks.org/c-operator-precedence-associativity/ anjali007 answered Dec 18, 2018 anjali007 comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes * and / both have same priority . Evalutation is left to right Example a*b/c ----> ab*c/ a/b*c----> ab/c* abhishekmehta4u answered Mar 30, 2019 abhishekmehta4u comment Share Follow See all 0 reply Please log in or register to add a comment.