Hello World
Bye World
The first program, hello.c is shown below. We can compile this program by the following command in unix:
cc hello.c
This creates an a.out file in your current directory.
You can run the program by typing a.out.
/* File: hello.c
By: Christopher Manloloyo
login: manloloy
Date: 20 August 2017
Mod: 20 August 2017
*/
#include <stdio.h>
main() //this portion is the header
{
printf("Hello World\n");
printf("Bye World\n");
}