S.No Data type Format specifier Data range Memory occupied
1 Int % d -32768----- +32767 2 bytes
2 Long % ld -2147483648------ +2147483647 4 bytes
3 Float % f 3.4*10-38------- 304*10+38 4 bytes
4 Double % lf 107*10-108------ 1.7*10+108 8 bytes
5 Char % C -128------ +127 1 bytes
Posted by: Wasim Javed
No comments:
Post a Comment