Hi Guest 1 HomePage 1 Jobs 1 WalkIn 1Articles  

 :) Latest Topic
Introduction to C
History of C Language
C Variables
Variables Types in C
C Identifiers
C Operators
C Comments
ASCII Value C
Constants C
Features of C
Install C Language
Start C Program
Compilation in c
printf() and scanf()
C Data Types
C Keyword
Format Specifier C
Format Specifier part2
Escape Sequence C
Tokens in C
Boolean in C
What are literals?
 


  

 
C Operators
Question Posted on 19 Aug 2020

Home >> Tutorial >> C Language >> C Operators


C Operators
There are so many types of operations thats are arithmetic, logical, bitwise etc. We use operator to perform different operations. There are following 8 types of operators which is used to operation in C language.
(1)Arithmetic Operators
(2)Relational Operators
(3)Shift Operators
(4)Logical Operators
(5)Bitwise Operators
(6)Ternary or Conditional Operators
(7)Assignment Operator
(8)Misc Operator

Precedence of Operators in C


Precedence of operator species that which operator will be evaluated first and next. Here associativity specifies the operator direction to be evaluated and it may be left to right or right to left.

Below is the example which help us to understand the Precedence of Operators

int value=10+30*10;

The value variable will contain 310 here because (multiplicative operator) is evaluated before + (additive operator).

The precedence and associativity of C operators is given below:


Operator In C





Other Important Questions
Features of C
Introduction to C
History of C Language
Install C Language
C Variables







 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |