Latest recipes tagged "tricky" Code RecipesSelf-Printing Program (C) 2009-06-05T01:19:17-07:00J Y <p style="color: grey"> C recipe 576798 by <a href="/recipes/users/4170398/">J Y</a> (<a href="/recipes/tags/tricky/">tricky</a>). </p> <p>The two key tricks here are using a string with an embedded %s specifier to allow the string to contain itself when printed, and to use the %c format specifier to allow printing out special characters like newlines, which could not otherwise be embedded in the output string. </p>