C++ Type Checking Question: Download Questions PDF
Select the right option.
Given the variables p, q are of char type and r, s, t are of int type
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
![C++ Type Checking Interview Answer C++ Type Checking Interview Question](https://globalguideline.com/public/images/interview/1.png)
Answer:
c) both 1 and 2 are true
Download C++ Type Checking Interview Questions And Answers
PDF