This topic is now archived and is closed to further replies.


Logical operators

Recommended Posts

Im doing an assignment with a friend who''s in a programming in C class. Todays topic is logical operators 1 && 1 && ! 1 || 1 Shouldnt that equal zero? The order of precedence is NOT, AND, OR, is it not? We think our professor may have the wrong answer by mistake.

Share this post

Link to post
Share on other sites