Wednesday 13 March 2013

Compatibility of various data types and modifiers

Here we have three figures which explain us about compatibility of various modifiers.We should careful about following things:-



1)Signed and unsigned modifiers are only used with char and int.
2)Short used with only int.
3)Long used with int,float,double.
4)By default ints & chars are signed.
5)long long is only compatible with int





No comments:

Post a Comment