Monday, April 15, 2019

Advantages and Disadvantages of 'C' language.

Advantages of C language :

(1) Portability - Program written in C language can be transferred from one machine to another machine. 

(2) Efficiency - program written in C language are fast,efficient and flexible. 

(3) C permits nearly every programming technique like-addressing memory location,manipulation bits etc. 

(4) C is a structure programming language- It allow the use of several programming construct such as sequence construct,selection construct etc. 

(5) Modularity - In C, a given program is divided into a number of module, each of which would perform some specific task. 

Disadvantages of C are:

(1) There is no runtine checking.

(2) There is no strict type checking (for ex:we can pass an integer value for the floting data type). 

(3) As the program extent it is very difficult to fix the bugs. 

No comments:

Post a Comment

To sum n different number using array.

#include<stdio.h> #include<conio.h> Void main()      {          int a[20] n,  s=0,i;          printf("Enter the numbe...