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

source: http://developer.apple.com/library/ios/#documentation/cocoa/conceptual/strings/articles/formatspecifiers.html


Comments

Popular posts from this blog

How to logout from a login page in asp.net -

Stack level too deep error after upgrade to rails 3.2 and ruby 1.9.3 -