Describe all operators used in C language with example

      

Describe all operators used in C language with example.

  

Answers


lilian
-Arithmetic Operators. C programming language provides all basic arithmetic operators: +, -, *, / and %
-Relational Operators. Relational operators are used when we have to make comparisons: >,<,<=,>=,=,!=
-increment and decrement to change the value of an operand these are ++,--
-Logical Operators-An expression containing logical operator returns either 0 or 1 depending upon whether expression results true or false. Logical operators are commonly used in decision making in C programming these are &&,||,!
-Bitwise Operators-During computation, mathematical operations like: addition, subtraction, addition and division are converted to bit-level which makes processing faster and saves power these are:&,|,<<,>>
limooh answered the question on March 7, 2018 at 13:35


Next: Explain the concept of files, records and fields
Previous: Explain in detail bitwise operators with example

View More Computer Science Questions and Answers | Return to Questions Index


Exams With Marking Schemes

Related Questions