Tuesday, December 25, 2012

C Language Advantages and Disadvantages : C Language Features


: C Language Advantages :

C Language has list of advantages due to this it is very much popular language around the world and best suitable for the programmer to learn at the fist stage of the programming.

1. Procedure Oriented Language
C Language is procedure oriented language, Here user creates procedures or functions to execute their task. Procedure oriented language is very much easy to learn because it follows algorithm to execute your statements. To develop program using procedure oriented language, you need to draw/prepare algorithm and then start converting it into procedure or functions.

2. Lots of Libraries
C Language provides lots of functions which consist of system generated functions and user defined functions. C Compiler comes with list of header files which consist of many general functions which can be used to develop program. while programmer can also create function as per their requirements that is called as user generated/defined function.

3. Speed of Compilation
C compiler produces machine code very fast compared to other language compiler. C compiler can compile around 1000 lines of code in a seconds or two. One more benefit of the C Compiler is that it also optimize the code for faster execution.

4. Easy to Learn (Syntax is near to English Language)
C Language syntax is very easy to understand. It uses keyword like if, else, goto, switch, goto, main, etc. This kind of keyword we all are using in our day to day life to convey meaning or to get some decisions. 

5. Portable 
C Language setup is around 3-5 MB. So you can carry this language in your Floppy Drive or Pen Drive. Its very easy to install and operate, Again its output is exe file which can be executed in any computer without any other framework / software.


: C Language Disadvantages :

Every coin has two sides, as C Language has also some disadvantages. C Language has not any major disadvantages but some features is missing in the C Language, obviously that's why C Language is very much powerful now. 

1. Object Oriented Programming Features (OOPS)
Object Oriented Programming Features is missing in C Language, You have to develop your program using procedure oriented language only.

2. Run Time Type Checking is Not Available
In C Language there is no provision for run time type checking, for example i am passing float value while receiving parameter is of integer type then value will be changed, it will not give any kind of error message.

3. Namespace Feature
C does not provides namespace features, so you can't able to use the same variable name again in one scope. If namespace features is available then you can able to reuse the same variable name.

4. Constructor and Destructor is not available:
C does not provides object oriented features, so it don't have Constructor and Destructor features. Constructor and Destructor is used to construct object and destroy object. So in C Language you have to implement manually construction and destruction of the variable using function or by other means.


1 comment:

  1. Now Prgramming is very easy for everyone. So Learn Programming In Very Easy Way In HINDI Language.

    Get Free Hindi Ebooks of Programming Languages PHP,JAVA, HTML5 and CSS3,JAVASCRIPT,JQUERY,C,C++,C#(SHARP),DATA STRUCTURE,VB6 etc. in pdf format.

    For get all these ebooks free in pdf format,click on below link:

    Free Downloads Ebooks of Programming Languages in Hindi in pdf format

    ReplyDelete