Features of C Language
- It is block structured language with functional flow-control constructs.
- It differs from many of the higher level language by permitting interaction with the computers inner workings.
- It is simple, contained, versatile, more expressive general purpose language.
- It has high degree of language mobility.
- It is last and efficient.
- It is function oriented. All additional tasks include input and output, graphics, math computations and access to peripheral devices are placed as library functions.
- The characters and numeric digits are the fundamental data objects of C language.
- It has rich set of operators.
- Dynamic storage location is possible with C.
- It permits all data conversion, mixed mode operations.
- It easily manipulates with bits, bytes and address.
De-Merits of C Language
- Unlike other language, it is difficult for novice user to learn ‘ C” language.
- The register declaration in c language is only an instructions to the compiler but does not refer to specific machine registers.
- Memory input/output string manipulation etc is done through functions, hence function calls through proper parameters should be made.
C Development Life cycle
Use an editor to write your source code. By tradition, C source code files have the extension .C for eg. add.c data.c and so on.
Compile the program using a compiler. If the compiler doesnt’ find any errors in the program, it produces an object file. The compiler produces object files with an .obj extension and the same name as the source code file eg. add.c compiles to add.obj. If the compiler finds errors, it reports them. you must return to Step 1. to make corrections in your source code.
Link the program a linker. If no errors occur, the linker produces an executable program located in a disk file with an .exe extension and the same name as the object file eg. add.obj is linked to create add.exe.
Execute the program. You should test to determine whether it functions properly. If not start again with step 1 and make modifications and additions to your source code.