46.9k views
4 votes
C++ uses the ______ symbol to represent the OR operator. a. < or > b. ^c. || d. &&

1 Answer

3 votes

Answer

The correct answer is option(C) which is "||"

Step-by-step explanation:

"< or >"" operators are used to check greater or less between two values.

"^" is a bitwise XOR operator, it computes bitwise XOR on every bit of two given numbers .

"&&" is logical AND operator, which returns TRUE when both conditions are TRUE.

"||" is logical OR operator,which returns TRUE when one(or both) condition satisfied.

User Vlad Topala
by
8.6k points

Related questions