I saw format specifier %qd
when browsing github code. Then I checked in GCC compiler, it's working fine.
#include <stdio.h>int main(){ long long num = 1; printf("%qd\n", num); return 0;}
What is the purpose of format specifier %qd
in printf()
?