Difference between revisions of "Hello World in C"

From eLinux.org
Jump to: navigation, search
(Created page with '<syntaxhighlight lang="php"> <?php $v = "string"; // sample initialization ?> html text <? echo $v; // end of php code ?> </syntaxhighlight>')
 
m (Add category)
(6 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()
html text
+
{
<?
+
  for(;;)
    echo $v;        // end of php code
+
      {
?>
+
          printf ("Hello World!\n");
</syntaxhighlight>
+
      }
 +
}
 +
 
 +
}}
 +
 
 +
[[Category:Development Tools]]

Revision as of 22:36, 27 October 2011

{{#source: c|

  1. include <stdio.h>

main() {

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

}

}}