logoISU  

CS456 - Systems Programming

Spring 2026

Displaying ./code/ch1/hello_world_fixed.c

// hello_world.c
// this prints "hello world" to the screen
// compile by running gcc -o hello_world hello_world.c
// from Ch 1, pg 2 in text 
#include <stdio.h> //tells the preprocessor to read contents of header file
	           //this is what lets us use the printf function

// main function below

int main(){

	printf("hello, world\n"); //this is what prints the text to the screen

	return 0;
}