What are the shortening length modifiers (i.e., h
, hh
) in the *printf*
function family for?
What's wrong printing shorter integers as ints ("%d"
) or unsigneds ("%u"
) given that that's how they'll be passed in anyway?
What are the shortening length modifiers (i.e., h
, hh
) in the *printf*
function family for?
What's wrong printing shorter integers as ints ("%d"
) or unsigneds ("%u"
) given that that's how they'll be passed in anyway?