Programming with C – Input/Outputs & Decision Making-Lecture 2

Structure of C Program

# include < header file>  // # is pre-processor directive

 #define x  5  //symbolic constant

int a, b;   //global variable declaration

int fxn();  // function declaration

main() //main function

{

int i,j,k;     // local variable declaration

Input statements;

Process;

Output Statements;

}

Continue reading “Programming with C – Input/Outputs & Decision Making-Lecture 2”