Multiple choice technology programming languages

Which of the following denote operator of logical AND

  1. &&

  2. ^&

  3. !&

  4. &

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In most programming languages (C, C++, Java, JavaScript, C#), && is the logical AND operator used for boolean operations. The single & is typically the bitwise AND operator used for bit manipulation. Options B (^&), C (!&), and D (&) are not the correct logical AND operators in mainstream programming languages.