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 comment

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

Blog at WordPress.com.

Up ↑

Design a site like this with WordPress.com
Get started