Question: SR 2.35 Given the following declarations, what result is stored by each of the following assignment statements? int iResult, num1 = 17, num2 =

SR 2.35 Given the following declarations, what result is stored by each of the following assignment statements? int iResult, num1 = 17, num2 = 5; double fResult, vall = 12.0, val2 = 2.34; a. iResult = num1 / num2; b. fResult = num1 / num2; C. fResult = vall / num2; d. fResult = (double) num1 / num2; e. iResult = (int) vall num2;
Step by Step Solution
3.45 Rating (158 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
