Difference between revisions of "Hello World in C"

From eLinux.org
Jump to: navigation, search
m (moved Mytestpage to Hello World in C: dual purpose page for testing syntax highlighting and add a basic hello world in c for reference)
Line 1: Line 1:
Example source for Hello World in C
 
 
 
 
{{#source: c|
 
{{#source: c|
 
#include <stdio.h>
 
#include <stdio.h>

Revision as of 19:41, 26 March 2010

{{#source: c|

  1. include <stdio.h>

main() {

 for(;;)
     { 
         printf ("Hello World!\n");
     }

}

}}