adplus-dvertising
frame-decoration

Question

Choose a correct C Operator Priority?
Items in one group ( ) has same priority.

a.

( ! ) <(*, /, %) <(+, -) <( <, <=, >, >=) <(==, !=) <(&&) <(||) <(=)

b.

(( ! ) ,(*, /, %) ,(+, -)) <( <, <=, >, >=) <(==, !=) <(&&) <(||) <(=)

c.

( ! ) > (*, /, %) > (+, -) > ( <, <=, >, >=) > (==, !=) > (&&) > (||) > (=)

d.

(( ! ) ,(*, /, %) ,(+, -)) >( <, <=, >, >=) >(==, !=) >(&&) >(||) >(=)

Posted under C Programming

Answer: (c).( ! ) > (*, /, %) > (+, -) > ( <, <=, >, >=) > (==, !=) > (&&) > (||) > (=)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Choose a correct C Operator Priority? Items in one group ( ) has same priority.