/* hello_world_c.c * * An example "hello world" program in C. * * Compiling and running this at the command line looks like this : * * $ gcc hello_world_c.c -o hello_c * $ ./hello_c * x is 3, y is 4, x+y is 7 * Oh, and 'hello world'. * * Jim Mahoney | cs.bennington.college | Feb 2022 | MIT License */ #include int main(){ int x = 3; int y = 4; printf(" x is %d, y is %d, x+y is %d \n", x, y, x+y); printf("Oh, and 'hello world'. \n"); return 0; }