| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

C Hello World

Page history last edited by matthew 9 years, 6 months ago
  1.  
  2. /* Hello World program */
  3.  
  4. #include <stdio.h>
  5.  
  6. int main(void)
  7. {
  8.     printf("Hello, world!\n");
  9.  
  10.     /* Wait for a keypress */
  11.     getchar();
  12.  
  13.     return 0;
  14. }
  15.  

 

  • Compile with: gcc -Wall helloworld.c -o helloworld.exe
  • More about "Hello, world!" programs can be found on this Wikipedia page

Comments (0)

You don't have permission to comment on this page.