Monday, July 8, 2019

Features of C Language


Features of C Language

·         C is a robust language with a rich set of built-in functions and operators.
·         Portable.
·         Memory Management.
·         C provides the use of Pointers and Recursion.
·         Machine independent.
·         Case Sensitive (like A and a are different).
·         Programs written in C are efficient and fast.
·         C is highly portable, programs once written in C can be run on other machines with minor or no modification.
·         C Language is not High level Language nor Low level Language it is Middle Level Language.
·         C is a collection of C library functions; we can also create our function and add it to the C library.
·         C has Rich Library.
·         C is easily extensible.
fiture of c,Features of C,
Features of c

Advantages of C

·         C is the building block for many other programming languages.
·         Easy to learn.
·         It produces efficient programs.
·          It can be compiled on a variety of computer platforms
·         It can handle low-level activities
·         Programs written in C are highly portable.
·         Several standard functions are there (like in-built) that can be used to develop programs.
·         C programs are collections of C library functions, and it's also easy to add own functions to the C library.
·         The modular structure makes code debugging, maintenance and testing easier.

Disadvantages of C

·         C does not provide Object Oriented Programming (OOP) concepts.
·         C provides no data protection.
·         There are no concepts of Namespace in C.
·         It also doesn't feature reusability of source code extensively.
·         C does not provide binding or wrapping up of data in a single unit.
·         Difficult to debug.
·         C does not provide Constructor and Destructor.
·         C allows a lot of freedom in writing code, and that is why you can put an empty line or white space anywhere in the program. And because there is no fixed place to start or end the line, so it is difficult to read and understand the program.
·         C compilers can only identify errors and are incapable of handling exceptions (run-time errors).
·         It does not provide strict data type checking (for example an integer value can be passed for floating datatype).
·         C does not support documentation comment. Even C++ does not support documentation comment.


Thanks for reading

Previous Topics


0 comments: