Tuesday, June 30, 2020

Creating and Compiling C Programs

When we create source code for any c program than we use any c editor and write program. C program contain two type of file

1) Header file:
2) Source file.


Extension of Header file is .h and extension of c program is c. Write program in C editor than after compiling the program source code is converted into object code/machine code. Now link all the object files by the help of linker program. After that resulting file will be executable file (.exe) which we can run and generate output on screen.


No comments:

Post a Comment