It’s platform-specific. But you can cast it to a known type.
printf("%lld\n", (long long) time(NULL));
More Related Contents:
- C: unable to print from file
- printf anomaly after “fork()”
- How do you allow spaces to be entered using scanf?
- Is char signed or unsigned by default?
- What is time_t ultimately a typedef to?
- Are all data pointers the same size in one platform for all data types? [duplicate]
- Where in memory are my variables stored in C?
- C/C++ printf() before scanf() issue
- Set variable text column width in printf
- How do I check if a variable is of a certain type (compare two types) in C?
- Printing UTF-8 strings with printf – wide vs. multibyte string literals
- How to printf a memory address in C
- string format for intptr_t and uintptr_t
- Any guaranteed minimum sizes for types in C?
- how to check if the input is a number or not in C?
- How do I print a non-null-terminated string using printf?
- Difference between fprintf, printf and sprintf?
- write() to stdout and printf output not interleaved?
- fork() in c using printf [duplicate]
- Variable sized padding in printf
- plain C: opening a directory with fopen()
- How to use C library created by MATLAB Coder codegen in C program with emxArray arguments?
- Why / when to use `intptr_t` for type-casting in C?
- Scanf/Printf double variable C
- How can I print a quotation mark in C?
- Printing chars and their ASCII-code in C
- C printf using %d and %f
- printf() with no arguments in C compiles fine. how?
- what is the difference between difftime and ‘-‘?
- In C how do I print filename of file that is redirected as input in shell