What format specifier to use for printing "unsigned long long" in C with getting truncated values on

Posted by Abhijeet on Stack Overflow See other posts from Stack Overflow or by Abhijeet
Published on 2010-04-27T11:52:37Z Indexed on 2010/04/27 12:03 UTC
Read the original article Hit count: 153

Filed under:
|

typedef unsigned long long IMSI;

IMSI imsi;

when i am trying to print this using %llu as a format specifier, i am getting a rather unrelated value.

What can i do to remove this problem?

© Stack Overflow or respective owner

Related posts about c

    Related posts about c++