Operators In C
An operator is a symbol that tells the compiler to perform specific mathematical or logical manipulations. C language is rich in built-in operators and provides the following types of operators: There are about 45 operators in C-Language:
Modulus Operator: It divides the number and return the remainder. Note: Modulus operator will not work with float or double values.
Ternary Operator: Consists of both the question mark and the colon. Condition is a logical expression, if the condition is true than evaluates expression 1 and if the condition is false then evaluates expression 2.