Friday, 18 March 2016

What is the range of short and char types ?


short type
- (2^15) to (2^15 - 1)
-32768 to +32767

char type
0 to (2^16 - 1)

No comments:

Post a Comment

Note: only a member of this blog may post a comment.