Quine: Difference between revisions
Content deleted Content added
→{{header|C}}: duh |
|||
Line 253: | Line 253: | ||
=={{header|C}}== |
=={{header|C}}== |
||
Note: This example assumes that the <code>stdio.h</code> header has already been included. It also does not return anything from the <code>main()</code> function, which may not be standard. It also does not contain a newline at the end of the file. |
|||
<lang c>main(){ char*p="main(){ char*p=%c%s%c; printf(p,34,p,34); }"; printf(p,34,p,34); }</lang> |
<lang c>main(){ char*p="main(){ char*p=%c%s%c; printf(p,34,p,34); }"; printf(p,34,p,34); }</lang> |
||