Best Answer

The preference in which arithematic operations are performed in an arithematic expression is called as Hierarchy of operations.

Its very important in C Programming to predefine the Hierarchy of operations to the C compiler in order to solve the given arithematic expression correctly.

e.g.: If a programmer wishes to perform ,z=a+b/c;it may beinterpretedas z=(a+b)/c or z=a+(b/c).

and if a=3,b=6,c=2 then using the same expression we will obtain two differentanswersas z=4.5 or z=6.

To avoid this condition we must be aware of hierarchy of operations used in C programming.

In arithematic expressions scanning is always done from left to right.

The priority of operations is as shown below,




Parenthesisos brackets()


Multiplication & Division


Addition & Subtraction


Assignment i.e.=

If we consider the logical operators used in C language,the operator precedence will be like;




Logical NOT

* / %

Arithmetic and moulus

+ -



== !=



Logical AND

Logical OR



In the tables above,the higher the position of an operator,higher is its priority.

User Avatar

Wiki User

โˆ™ 2013-04-10 06:08:39
This answer is:
User Avatar
Study guides

Factorial number's summation's program upto n numbers in c language

F chromatic scale clarinet

See all cards

Factorial number's summation's program upto n numbers in c language

See all cards

Add your answer:

Earn +20 pts
Q: What do you mean by Hierarchy in C language?
Write your answer...
Related questions

What do you mean by c language?

C is a programming language.

What is mean by robust language in c language?

c is a robust means powerful language

What do you mean by c?

c is a programing language

What c and C programming language?

The 'C' language was developed as an improvement over its predecessor, which was called 'B'. Actually C doesn't mean anything.

What is expressivepower of a language in automata theory?

What is expressive power of a language in automate theory is a language Hierarchy

Why C language is p?

C language is not p actually. Of course it might depend on what do you mean by 'p'.

What is the mean of echoed in c language?

It has nothing to do with C-language, it simply means that when you press a key representing a character, the character appears on the screen.

What does a literal mean in C language?

a string constant

What mean of c language?

C is a high-level and general-purpose programming language that is used for developing portable applications and scripting system applications. C is a very popular language and is required in many fields. So if you are looking to advance your career in a programming language, c is the best programming language to start. You can also learn data science with c from Learnbay institute if you are working and want to learn from scratch.

Which language is processor to c programming language?

I guess you mean predecessor. It's B and BCPL.

What are the colors in C programming language?

What exactly do you mean by colors?

What does hierarchy mean in drama terms?

hierarchy is structure and flow of authority.

Which is the most suitable language for computer software?

It depends on what you mean by suitable. Assembly language is generally the best in terms of performance, but C and C++ are more practical to use.

What is the mean of switch in c language?

switch is a mechanism provided in the C language through which we can select one among various constant option based on value of a single event.

Why c language has name c why not a?

C-language was derived from B-language.

How maslow's hierarchy of needs theory how can use English language teaching?

maslows theory

What is C language what does it do?

C Language is First Step of Programming Language, Help for C Language you are show the correct answer

Why c language is named c?

language created after the language 'B' is called as 'c'.

What is previous language of c language?

language before c language is pascal

What does c sur mean in French?

"c sur" is text language for "c'est sur", meaning "that's sure" in English.

What C++ means?

C++ is an object-oriented programming (OOP) language that is viewed by many as the best language for creating large-scale applications. C++ is a superset of the C language

What is the purpose of C programming language?

the purposr of c language is the system based in c language .this programing language is most importent of system language .totaly based in programing laguages in c

Class hierarchy is a fundamental concept of object oriented programs explain what this term means with reference to inheritance abstraction and instantiation?

Class hierarchy is a term used in Java. It is used for identifying the inheritance hierarchy or the parent class relationships Ex: Public class B extends C { } Public class A extends B { } Here if we take the class hierarchy for class 'A' it would be A

What do you mean by machine dependent language?

machine dependent languages cant be run on all platforms. example :c language it is a machine dependent language.

Is c is regular language?

Is C is not a regular language, it is a programming language is.