Identify the logical expressions.

Q30. Using the declarations of previous question identifies the logical expressions in the following expressions:

  1. (a)
  2. (!a)
  3. a+b%c
  4. a&&!a
  5. a||!a

Ans. (2), (4) and (5) are logical expressions.

Leave a Reply

Your email address will not be published. Required fields are marked *

57 Views
%d bloggers like this: