Given the variables p, q are of char type and r, s, t are of int type. Select the right statement?

1. t = (r * s) / (r + s); 2. t = (p * q) / (r + s);

A.

1 is true but 2 is false

B.

1 is false and 2 is true

C.

Both 1 and 2 are true

D.

Both 1 and 2 are false

Answer: Option C

Explanation:

Every character constant has an integer value. Also char belongs to the integral type hence arithmetic and logical operations can be performed on them.