I saw format specifier %qd
when browsing github code. Then I checked in GCC compiler, it\'s working fine.
#include
int main()
{
q
means quad word format specifier in printf function which is used to handle 64 bits comfortably on all machines.
From Wikipedia:
Additionally, several platform-specific length options came to exist prior to widespread use of the ISO C99 extensions:
…
q
- For integer types, causes printf to expect a 64-bit (quad word) integer argument. Commonly found in BSD platforms