Why Learn C?

Why Learn C?

There are a large number of programming languages in the world today—C++, Java, Ada, BASIC, COBOL, Perl, Pascal, Smalltalk, FORTRAN, etc. Even so, there are several reasons to learn C, some of which are stated as follows.


- C is a core language
      
In computing, C is a general-purpose, cross-platform, block structured procedural, imperative c programming language. There are a number of common and popular computer languages are based on C. Having learnt C, it will be much easier to learn languages that are largely or in part based upon C. Such languages include C++, Java, and Perl.

- C is a small language
       C has only thirty-two keywords (and only about twenty of them are in common use). This makes it relatively easy to learn compared to bulkier languages.

- C is quick
       We can write codes which run quickly, and the program can be very ‘close to the hardware’. By that, you can access low level facilities in your computer quite easily, without the compiler or runtime system stopping you from doing something potentially dangerous.

- C is portable
       C programs written on one system can be run with little or no modification on other systems. If modifications are necessary, they can often be made by simply changing a few entries in a header fi le accompanying the main program. The use of compiler directives to the pre-processor makes it possible to produce a single version of a program which can be compiled on several different types of computer. In this sense C is said to be very portable. The function libraries are standard for all versions of C so they can be used on all systems.

Comments