Playing Compiler
Determine which of the following expressions are valid. For each valid expression give the data type of the resulting value.
a. 27 / 13 + 4
b. 27 / 13 + 4.0
c. 42.7 % 3 + 18
d. (3<4) && 5 / 8
e. 23 / 5 + 23 / 5.0
f. 2.0 + 'a'
g. 2 + 'a'
h. 'a' + 'b'
i. 'a' / 'b'
j. 'a' && ! 'b'
k. (double) 'a' / 'b'
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.