string formatting - iOS NSLog %hd %hhd %ld and %lld format specifiers -
what meaning of these format specifiers?
%hd %hhd %ld %lld
%hd used short integer
or unsigned short integer
%hhd short short integer
or unsigned short short integer
%ld long integer
or unsigned long integer
%lld long long integer
or unsigned long long integer
simple that.
here h
, hh
, l
, ll
length modifiers in %d
Comments
Post a Comment