Use the ll (el-el) long-long modifier with the u (unsigned) conversion. (Works in windows, GNU).
printf("%llu", 285212672);
More Related Contents:
- Please explain the difference in the printfs below
- char c[]=”Albus”; printf(“%c”, c); [closed]
- Correct format specifier for double in printf
- What does “%.*s” mean in printf?
- What is the purpose of the h and hh modifiers for printf?
- How to printf “unsigned long” in C?
- Why is printf with a single argument (without conversion specifiers) deprecated?
- What precisely does the %g printf specifier mean?
- How do you type something on the same line of text in C [closed]
- What does “static” mean in C?
- Is there a printf converter to print in binary format?
- How can one print a size_t variable portably using the printf family?
- Code for printf function in C [duplicate]
- What’s the correct way to use printf to print a clock_t?
- What is the use of the %n format specifier in C?
- How should I print types like off_t and size_t?
- Getting a weird percent sign in printf output in terminal with C
- How to printf a size_t without warning in mingw-w64 gcc 7.1?
- printf not printing on console
- Execution of printf() and Segmentation Fault
- In C, what is the correct syntax for declaring pointers?
- Unexpected output of printf
- Explain the order of evaluation in printf [duplicate]
- Incompatible pointer types passing in _Generic macro
- What is the correct printf specifier for printing pid_t
- How to print an unsigned char in C?
- How can I throw an exception in C?
- Use of the : operator in C [duplicate]
- Why does this code print two times? [duplicate]
- What is the difference between %f and %lf in C?