Vidyalelo
Ruby Programming · Q41

Basic Syntax in Ruby

Programming · Ruby Programming · question 41

Q41

What is the difference between && and & operators?

A.
&& checks for logical AND, & checks for bitwise AND
Answer
B.
Both operators are the same
C.
&& checks for bitwise AND, & checks for logical AND
D.
&& checks for string concatenation, & checks for logical AND

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board