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)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Example source for Hello World in C
 
 
 
 
{{#source: c|
 
{{#source: c|
 
#include <stdio.h>
 
#include <stdio.h>
Line 14: Line 11:
  
 
}}
 
}}
 +
 +
[[Category:Development Tools]]
 +
[[Category:C]]

Latest revision as of 10:19, 1 May 2013

{{#source: c|

  1. include <stdio.h>

main() {

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

}

}}