Why Use C ?
There are many high-level languages, such as C, Pascal, BASIC, and Java. These are all excellent languages suited for most programming tasks. Even so, there are several reasons why many computer professionals feel that C is at the top of the list:
• C is a powerful and flexible language and places no constraints while writing codes. It is used for projects as diverse as operating systems, word processors, graphics, spreadsheets, and even compilers for other languages.
• A wide variety of C compilers and helpful accessories are readily available.
• C is a portable language. Portable means that a C program written for one computer system (an IBM PC, for example) can be compiled and run on another system (a DEC VAX system, perhaps) with little or no modification. Portability has been enhanced after its standardization by American National Standards Institute (ANSI) which sets the rules for C compilers.
• C is a language of few words, containing only a handful of terms, called keywords, which serve as the base on which the language's functionality is built.
• C is modular. C code can (and should) be written in routines called functions. These functions can be reused in other applications or programs. By passing pieces of information to the functions, one can create useful and reusable code.
C is an excellent choice for your first programming language. What about C++? You might have heard about C++ and the programming technique called object oriented programming. Perhaps you're wondering what are the differences between C and C++ and whether you should learn C++ instead of C.
C++ is a superset of C, which means that C++ contains everything C does have, plus new additions for object-oriented programming.
Comments
Post a Comment