Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22006

What is the purpose of format specifier "%qd" in `printf()`?

$
0
0

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()?


Viewing all articles
Browse latest Browse all 22006

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>