Describe the order of precedence with regards to operators in C.



Describe the order of precedence with regards to operators in C...

Answer / Kulveer Singh

The order of precedence for operators in C determines the order in which arithmetic expressions are evaluated. The highest precedence operations are unary operators (++, --, !, -, +), followed by multiplicative operators (*, /, %), additive operators (+, -), relational operators (<, <=, >, >=, ==, !=), equality operators (==, !=), bitwise operators (&, |, ^, ~), logical operators (!, &&), and assignment operators (=, +=, -=, *=, /=, %=). Parentheses can be used to change the order of evaluation.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What do you mean by command line argument?

1 Answers   TCS,


What is LINKED LIST? How can you access the last element in a linked list?

1 Answers   ADP,


Do you have any idea how to compare array with pointer in c?

1 Answers  


largest Of three Number using without if condition?

1 Answers  


What are types of functions?

1 Answers  


What does s c mean in text?

1 Answers  


#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif }

1 Answers  


How to add two numbers without using semicolon at runtime

2 Answers  


Explain what are linked list?

1 Answers  


What is Conio.h ?

2 Answers   TCS,


write a program to compare 2 numbers without using logical operators?

5 Answers   IBM,


Why is c still so popular?

1 Answers  


Categories