Your problem is that you have to change:
printf("%");
to
printf("%%");
Or you could use ASCII code and write:
printf("%c", 37);
:)
1.4m articles
1.4m replys
5 comments
57.0k users