Vidyalelo
C++ Programming · Q114

Variables and Data Types in C++

Programming · C++ Programming · question 114

Q114

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
Answer
D.
both 1 and 2 are false

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board