Features of c language
C is the widely used language. It provides a lot of features that are given below.
- Simple
- Machine Independent or Portable
- Mid-level programming language
- structured programming language
- Rich Library
- Memory Management
- Fast Speed
- Pointers
- Recursion
- Procedural Language
- Fast and Efficient
- Modularity
- Statically Type
- General Purpose Language
- Rich set of built in Operators
- Libraries with rich Functions
- Middle Level Language
- Portability
- Easy to Extend
- Extensible
1. Simple- C is a simple language in the sense that it provides structured approach (to break the problem into parts), rich set of library functions, data types etc.
_________________________________________________________
2. Machine Independent or portable- Unlike assembly language, c programs can be executed on many machines with a little bit or no change. But it is not platform-independent.
______________________________________________
3. Mid-Level programming language- C is also used to do low-level programming. It is used to develop system applications such as kernel, driver etc. It also supports the feature of high level language. That is why it is known as mid-level language.
______________________________________________
4. structured programming language- C is a structured programming language in the sense that we can break the program into parts using functions. So, it is easy to understand and modify.
______________________________________________
5. Rich Library- C provides a lot of inbuilt functions that make the development fast.
______________________________________________
6. Memory Management- It supports the feature of dynamic memory allocation. In C language, we can free the allocated memory at any time by calling the free() function.
______________________________________________
7. Fast Speed- The compilation and execution time of C language is fast.
______________________________________________
8. Pointers- C provides the feature of pointers. We can directly interact with the memory by using the pointers. We can use pointers for memory, structures, functions, array etc.
______________________________________________
9. Recursion- In c, we can call the function within the function. It provides code reusability for every function.
______________________________________________
10. Procedural Language- In a procedural language like C step by step predefined instructions are carried out. C program may contain more than one function to perform a particular task. New people to programming will think that this is the only way of a particular programming language works. There are other programming paradigms as well in the programming world. Most of the commonly used paradigm is an object-oriented programming language.
___________________________________________________________
11. Fast and Efficient- Newer languages like java, python offer more features than c programming language but due to additional processing in these languages, their performance rate gets down effectively. C programming language as the been middle-level language provides programmers access to direct manipulation with the computer hardware but higher-level languages do not allow this. That’s one of the reasons C language is considered as the first choice to start learning programming languages. It’s fast because statically typed languages are faster than dynamically typed languages.
___________________________________________________________
12. Modularity- The concept of storing of C programming language code in the form of libraries for further future uses is known as modularity. This programming language van does a very little on its own most of its power is held by its libraries. C language has it’s own library to solve common problems like in this we can use a particular function by using a header file stored in its library.
___________________________________________________________
13. Statically Type- C programming language is a statically typed language. Meaning the type of variable is checked at the time of compilation but not at run time. Means each time a programmer type a program they have to mention the type of variables used.
___________________________________________________________
14. General purpose language- From system programming to photo editing software, C programming language is used in various applications. Some of the common applications where it’s used are as follows:
- Operating systems: Windows, Linux, iOS, Android, OXS
- Databases: PostgreSQL, Oracle, MySQL, MS SQL Server etc.
_____________________________________________________
15. Rich set of built in operators- It is a diversified language with a rich set of built-in operators which are used in writing complex or simplified C programs.
__________________________________________________________
16. Libraries with rich functions- Robust libraries and functions in C help even a beginner coder to code with ease.
__________________________________________________________
17. Middle Level Language- As it is a middle-level language so it has the combined form of both capabilities of assembly language and features of the high level language.
__________________________________________________________
18. Portability- C language is lavishly portable as programs which are written in C language can run and compile on any system with either none or small changes.
__________________________________________________________
19. Easy to Extend- Programs written in C language can be extended means when a program is already written in it then some more features and operations can be added into it.
__________________________________________________________
20. Extensible- C language is extensible because it can easily adopt new features.
________________________________________________________
No comments:
Post a Comment