adplus-dvertising
frame-decoration

Question

What is the Priority of C Logical Operators?

NOT (!), AND (&&) and OR (||)

a.

NOT (!) > AND (&&) > OR (||)

b.

NOT (!) > AND (&&)= OR (||)

c.

AND (&&) >OR (||) > NOT (!)

d.

AND (&&) =OR (||) > NOT (!)

Answer: (a).NOT (!) > AND (&&) > OR (||)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the Priority of C Logical Operators? NOT (!), AND (&&) and OR (||)