Top 4 Operators in C Language with Examples
Operator in C programming is a symbol use to perform some operation on variables, operands or with the constant. Some operator required 2 operand to perform operation or Some required single operation. Several operators are there those are, arithmetic operator, assignment, increment , decrement, logical, conditional, comma, size of , bitwise and others. In this article, I will be sharing different types of Operator in C with examples. Types of Operators in C Language An operator is a symbol that tells the compiler to perform certain mathematical or logical manipulations. C operators can be classified as 1. Arithmetic operators 2. Relational operators 3. Logical operators 4. Assignment operators 5. Increment or Decrement operators 6. Conditional operator 7. Bit wise operators 8. Special operators ARITHMETIC OPERATORS IN C All basic arithmetic operators are present in C. + add - subtract * multiplication / division % modulo division(remainder) An arithmetic operation involvin...
Comments
Post a Comment