Operators

Operators वो  symbols होते हैं जिनका use mathematical or logical operations में किया जाता हैं। 


C Language में बहुत से operators हैं :-

  • Arithmetic Operators
  • Relational Operators
  • Logical Operators
  • Assignment Operators
  • Increment and Decrement Operators
  • Conditional Operator
  • Bitwise Operators
  • Special Operators

Arithmetic Operators :-

Arithmetic Operators का use mathematical operations [ Addition (+) , Subtraction (-), Multiplication (*), Division (/), Modulus (%) ] perform करने में किया जाता हैं। 




Relational Operators:-

Relational operators mainly comparision के लिए use किये जाते हैं। 




Logical Operators :- 

C Language में mainly 3 logical operators का use किया जाता है :-

  • Logical AND (&&)
  • Logical OR (||)
  • Logical NOT (!)



Assignment Operators :- 

Assignment Operators का use हम value को variable में assign करने के लिए करते हैं। 





Conditional Operators :-

Conditional Operators का use हम तब करते हैं जब एक से जायदा condition हो। 



Bitwise Operators :-

Bitwise Operators का use memory allocation or de allocation के लिए किया जाता हैं। 



Special Operators :-

C Language कुछ special operators भी offer करता है। 





Post a Comment

0 Comments