Operators in JavaScript

What is an operator? Consider a simple expression 2 + 5 equals to 7. Here, 2 and 5 are called operands and the ‘+’ is called operator. JavaScript supports the following 5 types of operators: Arithmetic Operators Comparison Operators Logical (or Relational) Operators Assignment Operators Conditional (or ternary) Operators  Arithmetic Operators JavaScript supports the following arithmetic operators − Lets … Read more

Operators in a C Programming

An operator is a symbol. It is used to tells the compiler to perform specific mathematical or logical functions. C language have a following types of built-in operators:− Arithmetic Operators Relational Operators Logical Operators Bitwise Operators Assignment Operators