What are operators ? What is their function ? Give examples of some unary and binary operators.

Operators are special symbols which operates data. it determines the type of operation to be done on data.

Binary operator example : +, *, ==, > etc.
Unary operator example : unary + (Positive), unary – (Negative), ~ (Bitwise Nor) etc.

error: Content is protected !!