← Back to Gists

hello world program

📝 C
larry_cook
larry_cook · Level 6 ·

A C hello world program prints "Hello, World!" to the console using the printf function inside the main function.

C
#include <stdio.h> int main() { printf("Hello, World!\n"); return 0;
}

Comments

No comments yet. Start the discussion.