How do you escape the % sign when using printf in C?
printf
printf(\"hello\\%\"); /* not like this */
Like this:
printf("hello%%"); //-----------^^ inside printf, use two percent signs together