Examveda

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


Join The Discussion

Related Questions on Variables and Data Types in C plus plus