QP School

Full Version: Writing your first "Hello, World!" program
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The "Hello, World!" program is a simple introductory program that prints the text "Hello, World!" to the console. Here's how you can do it:

#include <stdio.h>

int main() {
    printf("Hello, World!\n");
    return 0;
}