Popular recipes tagged "tricky"http://code.activestate.com/recipes/tags/tricky/2009-06-05T01:19:17-07:00ActiveState Code RecipesSelf-Printing Program (C) 2009-06-05T01:19:17-07:00J Yhttp://code.activestate.com/recipes/users/4170398/http://code.activestate.com/recipes/576798-self-printing-program/ <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>