Feaures of C
Source: pixabay.com |
- Simple language:
C language is a simple and easy programming language for both learning and programming; therefore most of the computer programming languages follow its syntax and concepts, like C++, Java, C# etc.
- Portability:
One of the reasons of C’s popularity is its portability. We can easily transform a program written I C from one computer to another with few or no change and compile with the appropriate compiler.
- Modular programming language:
C language is a modular programming language, which means that we can divide a C program into small modules according to code functionality, which makes the C program easy to understand.
- Faster and efficient:
C is desirable because it is faster and more efficient than other high-level languages. For e.g., a program to increment a variable from o to 15000 takes about 50 seconds in BASIC while it takes 1 second in C.
- Middle-level programming language:
C language is a middle-level programming language because it contains features of both low-level and high-level programming languages and this is the story behind of widely used C language in system level applications.
- Extendibility:
Another property of C is extensibility. C is basically a collection of functions that are supported by C library. We can frequently add or extend our own functions of C library.
- Recursion:
Recursion is a technique that provides code reusability and one of the common techniques used in C language, where a function calls itself again and again for doing a specific task.
- Flexibility:
C is a flexible language. It permits us to write any complex programs with the help of its rich set of inbuilt functions and operators. C is suited for both system and application software development.
- Rich set library:
C language provides a lot of libraries like ‘math.h’, ‘string.h’ etc. These libraries help us to create C programs or applications easily and make working with C faster.
Advantages and Disadvantages of C
0 Comments