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