Difference between revisions of "Hello World in C"

From eLinux.org
Jump to: navigation, search
Line 1: Line 1:
 +
Example source for Hello World in C
 +
 +
 
{{#source: c|
 
{{#source: c|
 
#include <stdio.h>
 
#include <stdio.h>
Line 9: Line 12:
 
       }
 
       }
 
}
 
}
 
 
  
 
}}
 
}}

Revision as of 19:39, 26 March 2010

Example source for Hello World in C


{{#source: c|

  1. include <stdio.h>

main() {

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

}

}}