// Needed to use printf (and some other functions) #include // main function is where your program starts int main() { // prints "Hello world!" to the screen printf("Hello world!\n"); // functions with a return type should return a value // For main(), 0 means no errors or success! return 0; } // compile with gcc at the command line // a.out (a.exe on windows) is the default executable name // type ./a.out to run