GeeksforGeeks » C/C++ Programming Questions
what will the output and why?
(3 posts)-
#include<stdio.h> int main() { printf("%%dd",12); getchar(); return 0; } -
%dd
An extra % is put in format tring to ignore the next % as a format specifier and print it as a notmal character.
-
I think this will help more :
Reply
You must log in to post.