How do you escape the % sign when using printf in C?
printf
printf(\"hello\\%\"); /* not like this */
Yup, use printf("hello%%"); and it's done.
printf("hello%%");