It’s %td
. See here.
More Related Contents:
- printf(“%p”) and casting to (void *)
- How to printf a memory address in C
- Why doesn’t scanf need an ampersand for strings and also works fine in printf (in C)?
- using printf to print out floating values
- How do you type something on the same line of text in C [closed]
- What is the output of the following code in C? [closed]
- Incorrect result in c code
- whats the difference between dynamic memory allocation and normal memory allocation?
- Changing address contained by pointer using function
- Is there a printf converter to print in binary format?
- How can one print a size_t variable portably using the printf family?
- printf and long double
- Why can’t I cast a function pointer to (void *)?
- Can the size of pointers vary between data and function pointers?
- Why is #include not required to use printf()?
- Difference between char* and const char*?
- In C, what is the correct syntax for declaring pointers?
- C typedef of pointer to structure
- C – SizeOf Pointers
- Where in memory are string literals ? stack / heap? [duplicate]
- Unexpected output of printf
- Explain the order of evaluation in printf [duplicate]
- Incompatible pointer types passing in _Generic macro
- How to print an unsigned char in C?
- C difference between *[] and **
- Difference between *ptr[10] and (*ptr)[10]
- How are we able to access the pointer after deallocating the memory?
- Printing pointers in C
- lvalue required as increment operand
- C pointer notation compared to array notation: When passing to function