Yeah, that works in C too... and probably in many other languages too...here is an example of this
in C....It's very useful...especially if you don't
want to type printf...or in PERL, print,
15 billion times :D...This message is almost pointless, besides that I wanted to show it works
in C too :D......
/* Code Showing how to print multiple lines
without the \n being passed in C
Author: Obfuscated C */
#include <stdio.h>
main()
{
printf ("
Hey this is the how to
have multiple lines printed
the BETTER way!!
");
return 0;
}
Originally posted as a Categorized Answer.