khuang8493
6/11/2018 - 11:01 PM

Basic Structure of a C Program

Basic Structure of a C Program: first include libraries, then start the main program with "int main(void)".

#include <cs50.h>               //(The cs50 library)
#include <stdio.h>              //(Input and Output library)

int main(void)            			//("main" is start a function)
{
	printf("hello, world\n");
}