Logical Operators in Different Languages

NameLogical Operators
C#, Javascript, Java, C, Python PHPSQLMATLAB
And&&and&&AND&
Or||or||OR |
Not!not!NOT~
XORxorxor
Short-circuit AND&&
Short-circuit OR||

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Create a free website or blog at WordPress.com.

Up ↑

Create your own website, free on WordPress.com.Create your own website.
Start free