Anonymous user
Here document: Difference between revisions
m
→{{header|C}}
Alextretyak (talk | contribs) (Added 11l) |
m (→{{header|C}}) |
||
Line 209:
The program speaks for itself ;)
<lang C>
#include <stdio.h>
int main() {
"of what C is capable of.\n
"After all, what would one call this multiline
"I may be old, but do not forget that it all started with me.\n"
"C "
);
return 0;
}
</lang>
Output:
<pre>
The Heredoc task was marked not implementable in C.
Frankly the person who did so seems to have little idea
of what C is capable of.
After all, what would one call this multiline printf statement ? I may be old, but do not forget that it all started with me.▼
After all, what would one call this multiline string?
▲
Ever enigmatic...
▲ C
C
</pre>
|