Hello world/Newline omission: Difference between revisions

Content added Content deleted
({{header|C}})
Line 13: Line 13:
<lang basic>10 REM The trailing semicolon prevents a newline
<lang basic>10 REM The trailing semicolon prevents a newline
20 PRINT "Goodbye World!";</lang>
20 PRINT "Goodbye World!";</lang>

=={{header|C}}==

<lang c>#include <stdio.h>
int main(int argc, char *argv[]) {
(void) printf("Goodbye, World!"); /* We don't get newlines unless we embed them */
return EXIT_SUCCESS;
}</lang>


=={{header|Perl}}==
=={{header|Perl}}==