Wednesday, Oct 17th

Last update12:59:40 PM GMT

What is the difference between the & and && operators and the | and || operators?

Write e-mail

& and | are bitwise AND and OR operators respectively. They are usually used to manipulate the contents of a variable on the bit level.

argaiv1608

&& and || are logical AND and OR operators respectively. They are usually used in conditionals.

Share this post



Web Hosting