What is the purpose of a logical operator in C++?
A. It is used with pointers to access addresses.
B. It is needed to do comparisons between variables.
C. A programmer uses a logical operator to combine multiple relational statements.
D. It is needed to perform bitwise program operations.
C
Computer Science & Information Technology