Online Compiler C

#include <stdio.h> int main() { printf("Hello world!\n"); return 0; }
This code prints "Hello world!" to the screen and then exits. It is a complete and correct C program.

- The program uses `printf` to output text. Make sure you understand that `\n` creates a new line after the message.
- The `return 0;` statement indicates the program finished successfully.