Importance Of ‘C’
C is one of the most popular programming languages in the world. C resembles general English language. Therefore complex programs can be written in this language in a simple and easier way. The following are importance of C:
1.Simplicity: C has the richest collection of inbuilt functions, keywords and data types. It also resembles general English language. Moreover, it follows a structured approach so it is easy to learn also.
2.Clarity: The keywords and library functions available in C resembles common English words thus it helps to improve the clarity of the program.
3.Portability: By the term ‘portable’ we mean computer independent. The programs made in C can be made to run on different machines ranging from the smallest PCs through mightiest supercomputers thus increasing the efficiency of the language.
4.Quicker Compilation: The C compiler is very quick i.e. the computations can be done much faster than other languages like BASIC. In C, we can display the number 1 to 15000 in one second but it would take more than 50 seconds in BASIC language.
5.Easy Availability: The C compiler is easily available and they require very less disk space for their storage. It is very easy to load Turbo C compiler in your computer.
6.Errors are easily detected: The syntax error can easily be detected by the C compiler. When the programs, after typing in the editor are compiled by compiler, then errors (if any) are immediately displayed on the screen pointing to the lines where they occur. Thus they can be easily removed.
7.Modularity: The programs made in C can be easily divided into small modules with the use of the functions. This feature helps to increase the understandability of the program.
8. Memory Management: The various memory management functions available in C help to save memory and thus improve the efficiency of the program. These functions help to reduce the amount of space required by the program. It also saves memory when programs (specially in case of multiple file programs) are executed. Some common memory memory management functions available in C are calloc(), malloc(), realloc().
9.Support for recursive function calls: C supports recursive function calls. It thus helps to reduce the number of lines of code as user need not write the function definition again and again. This features makes the code easier to remember. Recursive function are used when functions can be represented in terms of previous values.
10.Used for system programming: Since this language contains bitwise operators and it can also manipulate CPU registers, it can be easily used for developing operating systems i.e. a part of system programming.
Post a Comment