how to use printf with string code example Example: how to print % in printf printf("100 %% 23"); // the first % is a escape charachter