Operators in C Language | Different type of Operators in C language

Spread the love
operators in C language
 

Operators in C language :

An operator is a symbol that tells the compiler to perform specific task.

Operator is acts on operands. in other words, Operand is a data element on which operator acts.
Depending upon the operands operators are Classified into 3 types those are

  1. Unary Operators      
  2. Binary Operators
  3. Ternary Operators    
> Unary operators act on single Operand. It needs only one operand to perform the operation.
    Ex:  ~(one’s Compliment) ++(Increment) (Decrement) +(unary plus)  –(unary minus)…etc
> Binary Operators are needed two operands to perform Operations
    Ex : +    /   % …. etc.
> Ternary Operators are acts one three operators to accomplish the task.
    Ex :            : ? (Condition Operator).
This is the classification based on Operands but we have other Classifications based on Role they played.
All C Operators falls under several categories based on their role, Which are
We are going to Explore each and Every Operator in next tutorials.
 

Venkatesh Macha

Hi Guys, I am Venkatesh Macha. I am a programmer and an Open Source enthusiast, Presently working as a Software Engineer. Apart from that, I love to explore new technologies and things.

You may also like...

1 Response

Leave a Reply