Difference between revisions of "Hello, World! (C)"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
  
  
<pre>
+
<code>
 
#include <stdio.h>
 
#include <stdio.h>
 
int main() {
 
int main() {
Line 8: Line 8:
 
   return 0;
 
   return 0;
 
}
 
}
</pre>
+
</code>
  
  

Revision as of 19:12, 30 April 2020


  1. include <stdio.h>

int main() {

  // printf() displays the string inside quotation
  printf("Hello, World!");
  return 0;

}


See also

Advertising: