Hello, World!

E

Eric Sosman

Tubular said:
#include <stdio.h>

int main(void)
{
puts("Hello, World!");
return 0;
}

#include <stdio.h>
int main(void) {
puts ("Wotcher.");
return 0;
}
 
C

Christopher Benson-Manica

[comp.lang.c] Eric Sosman said:
#include <stdio.h>
int main(void) {
puts ("Wotcher.");
return 0;
}

#include <stdio.h>
int main( void ) {
fprintf( stdout, "s'up, dawg!\n" );
return 0;
}

(I had to look up "wotcher", I admit.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Hello World 1
Hello World 2
HELLO 2
To output "Hello, World!" at window 48
Hello world 1
Hello world console program with lcc-win32 15
Hello 0
Hello World 0

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top