printf output code example
Example 1: How to print % using printf()?
printf("%%");//use %% to print %
Example 2: how to print % in printf
printf("100 %% 23"); // the first % is a escape charachter
printf("%%");//use %% to print %
printf("100 %% 23"); // the first % is a escape charachter