-
Select the right option.
Given the variables a, b are of char type and c, d, e are of int type
i. e = (c * d) / (c + d);
ii. e = (a * b) / (c + d);
-
- i is false and ii is true
- i is true but ii is false
- both i and ii are false
- both i and ii are true
- None of these
Correct Option: D
Every character constant has an integer value. Also char belongs to the integral type hence arithmetic and logical operations can be performed on them.