Friday, July 29, 2016

C Basics - Features of C

C is a powerful, flexible language that provides fast program execution and imposes few constraints on the programmer. It allows low level access to information and commands while still retaining the portability and syntax of a high level language. These qualities make it a useful language for both systems programming and general purpose programs.

C's power and fast program execution come from it's ability to access low level commands, similar to assembly language, but with high level syntax. It's flexibility comes from the many ways the programmer has to accomplish the same tasks. C includes bitwise operators along with powerful pointer manipulation capabilities.

It is a robust language with rich set of built-in functions and operators that can be used to write any complex program.

The C compiler combines the capabilities of an assembly language with features of a high-level language.

Programs Written in C are efficient and fast. This is due to its variety of data type and powerful operators.

C is highly portable this means that programs once written can be run on another machines with little or no modification.

Another important feature of C program, is its ability to extend itself.

Modularity is one of the important characteristics of C. we can split the C program into no. of modules instead of repeating the same logic statements (sequentially). It allows reusability of modules.

C is a procedural programming language in the sense that we can break the program into parts using functions. So, it is easy to understand and modify.

A C program is basically a collection of functions that are supported by C library. We can also create our own function and add it to C library.

Low-level access to computer memory is possible by converting machine addresses to typed pointers.

Related topics:
Intro of C   |   Overview of C   |   Applications of C   |   The Setup for C   |   Source Program in C   |   Program Startup and Termination in C   |   Program Structure in C   |   First Program in C   |   Must Know Terms in C

List of topics: C Programming

No comments:

Post a Comment