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

You might also like to view...

The Replace command is used to locate a word, phrase, or specific formatting

Indicate whether the statement is true or false

Computer Science & Information Technology

What is the output of the following program?

Computer Science & Information Technology