Why c is a middle level language ?
Why c is a middle level language ?
It behaves like low level languages as well as high level languages. That's why it is middle level language.
C is often called a middle-level computer language as it combines the elements of high-level languages with the functionalism of assembly language
C programming language is called as middle level language because (i) it gives or behaves as high level language through functions - gives a modular programming and breakup, increased efficiency for reusability (ii)it gives access to the low level memory through pointers. Moreover it does support the low level programming i.e, assembly language. As its a combination of these two aspects, its neither a high level nor a low level language but a middle level language.
C is a middle level language because it does not contain OOPS features of high level language for data security,which is the main feature of hish level language.C only contains features like modular programming,reusability,portability etc.
Hi
You must be knowing that there two types of languages as far as level is concerned ,
first is higher level language .
Higher level langage is used to build the applications or some complex programs that run on any desired operating system.
Here the knowledge of basic architecture of any computer system is not necessary. Programmer applies logic to develop a program for example if you want to make a chess game, all you need is that the steps that should be taken after one has taken his/her position.(While playing with computer).
In case of lower level language,
Programming is done taking the architecture of the system into account.
Such programming also include assembly level programs.
C is the only language which combines both levels into itself.
You can make a program for chess using C.
(Thats Higher Level Programming)
Also, You can make a program in Lower Level.
For example Use of Union in memory allocation to manage the minimum use of memory (which is primary requisite of any lower level progamming).
Thats why C is middle level language.
hi friend..
C is called a middle level language since it is a higher language than something like assembler, which communicates to the computer through operations that directly manipulate data and uses machine code.
High level languages, are very close to human readable/speakable languages, such as English and French ( and many more), and are therefore more human-oriented.
Unfortunately, the C programming language is neither a low-level language, such as assembler, or a high level language such as English, but somewhere in between. Thus a middle-level language
Thanks
Deepasree