Hi,
-
The value of CodingBlocks is same as expected as it lies in the range of long signed.
-
0<=short unsigned<=65535, if you give negative value then the actual value assigned to BOSS1 is like a cycle. Example: if BOSS1=65535 when we assigned -1 to it,65534 when we assigned -2 to it and so on.
-
0<=unsigned<= 4294967295, as explained above BOSS2=4294967295 when we assign -1 to it and so on.
4.As BOSS3 lies in the int range,so output is as expected.
5.0<=long long unsigned<=18446744073709551615. as explained above BOSS4=18446744073709551615 when -1 is assigned to it BOSS4=18446744073709551614 when -2 is assigned to it and so on.
-
Since, short assigned round off the value to floor so output is 2018.
-
Ascii value of ‘A’ is assigned to HackerBlocks.