Features of C
It is a very simple and easy language, C language is mainly used for develop desktop based application. All other programming languages were derived directly or indirectly from C programming concepts. This language have following features;
- Simple
- Portability
- Powerful
- Platform dependent
- Structure oriented
- Case sensitive
- Compiler based
- Modularity
- Middle level language
- Syntax based language
- Use of Pointers
Simple
Every c program can be written in simple English language so that it is very easy to understand and developed by programmer.
Platform dependent
A language is said to be platform dependent whenever the program is execute in the same operating system where that was developed and compiled but not run and execute on other operating system. C is platform dependent programming language.
Note: .obj file of C program is platform dependent.
Portability
It is the concept of carrying the instruction from one system to another system. In C Language .Cfile contain source code, we can edit also this code. .exe file contain application, only we can execute this file. When we write and compile any C program on window operating system that program easily run on other window based system.
When we can copy .exe file to any other computer which contain window operating system then it works properly, because the native code of application an operating system is same. But this exe file is not execute on other operation system.
Powerful
C is a very powerful programming language, it have a wide verity of data types, functions, control statements, decision making statements, etc.
Structure oriented
C is a Structure oriented programming language.Structure oriented programming language aimed on clarity of program, reduce the complexity of code, using this approach code is divided into sub-program/subroutines. These programming have rich control structure.
Modularity
It is concept of designing an application in subprogram that is procedure oriented approach. In c programming we can break our code in subprogram.
For example we can write a calculator programs in C language with divide our code in subprograms.
Example
void sum() { ..... ..... } void sub() { ..... ..... }
Case sensitive
It is a case sensitive programming language. In C programming 'break and BREAK' both are different.
If any language treats lower case latter separately and upper case latter separately than they can be called as case sensitive programming language [Example c, c++, java, .net are sensitive programming languages.] other wise it is called as case insensitive programming language [Example HTML, SQL is case insensitive programming languages].
Middle level language
C programming language can supports two level programming instructions with the combination of low level and high level language that's why it is called middle level programming language.
Compiler based
C is a compiler based programming language that means without compilation no C program can be executed. First we need compiler to compile our program and then execute.
Syntax based language
C is a strongly tight syntax based programming language. If any language follow rules and regulation very strictly known as strongly tight syntax based language. Example C, C++, Java, .net etc. If any language not follow rules and regulation very strictly known as loosely tight syntax based language.
Example HTML.
Example HTML.
Efficient use of pointers
Pointers is a variable which hold the address of another variable, pointer directly direct access to memory address of any variable due to this performance of application is improve. In C language also concept of pointer are available.