Difference between revisions of "Hello World in C"

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

}

}}