formatting output using printf. code example Example: How to print % using printf()? printf("%%");//use %% to print %