reset password
Author Message
apate5
Posts: 1
Posted 00:53 Sep 01, 2016 |

Do we need to handle the output for question 3 & 5 or just we are concerned with the output ...???

for eg, 

long a = 2147483647; in this if we perform the +1  operation then the output is as follows -2147483648 .

so we need to handle the ( - ) sign or not ...???

Abdullah
Posts: 4
Posted 01:12 Sep 01, 2016 |

I have the same result.

I think the purpose of that is to show us what is the difference between int and long.