top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Why C is considered as middle level language?

+3 votes
420 views
Why C is considered as middle level language?
posted Oct 3, 2014 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

+1 vote

C language is a combination of High level & low level language. A high language is portable & more user friendly while a low level language is specific to a particular machine/processor.
1. High Level -->With the help of functions in C, we can not only achieve modularity but also code reusability/efficiency.
2. Low Level --> With the help of pointers we can access the low level memory.Also it supports low level programming. So it is considered a mixture of both high & low level language.

Also when we write a code in assembly language, we are supposed to keep the architecture and Instruction Set fixed in our mind because the code is specific to a particular machine.
But when we write a program in C, we code at a higher level & the compiler (our best friend) takes care of generating the equivalent assembly instructions supported for the underneath processor.

Hope this helps!

answer Oct 3, 2014 by Ankush Surelia
0 votes

(i) It gives or behaves as High Level Language through Functions - gives a modular programming and breakup, increased efficiency for re-usability

(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.

answer Oct 3, 2014 by Aarti Jain
...