Difference between revisions of "Hello World in C"

From eLinux.org
Jump to: navigation, search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<syntaxhighlight lang="php">
+
{{#source: c|
 +
#include <stdio.h>
  
<?php
+
main()
    $v = "string";   // sample initialization
+
{
?>
+
  for(;;)
 +
      {
 +
          printf ("Hello World!\n");
 +
      }
 +
}
  
</syntaxhighlight>
+
}}
 +
 
 +
[[Category:Development Tools]]
 +
[[Category:C]]

Latest revision as of 03:19, 1 May 2013

{{#source: c|

  1. include <stdio.h>

main() {

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

}

}}