Summary of 59101
General structure of a C program:
/* include statements */
#include <stdio.h>
#include <string.h>
/* define statements */
#define MAX 2000
/* declarations of functions and global variables */
void subfunc(void);
int i,j;
char c;
float x,y;
char s[80];
/* main program */
main() {
statements...
}
/* functions used by main */
void subfunc(void) {
statements...
}