Difference between revisions of "Hello World in C"

From eLinux.org
Jump to: navigation, search
m (Add category)
(5 intermediate revisions by one other user 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]]

Revision as of 22:36, 27 October 2011

{{#source: c|

  1. include <stdio.h>

main() {

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

}

}}