Sunday, December 16, 2018

Operators and Expressions

/*OPERATORS AND EXPRESSIONS*/
sk.
* OPERATORS:- An operator is the symbol that is struct the computer to perform a specific operation. The main use of operator is to manipulate the data and variable.
<TYPES OF OPERATOR>

  • ARITHMETIC OPERATOR
  • RELATIONAL OPERATOR
  • LOGICAL OPERATOR
  • ASSIGNMENT OPERATOR
  • INCREMENT OR DECREMENT OPERATOR
  • CONDITIONAL OPERATOR
  • BITWISE OPERATOR 
  • SPECIAL OPERATOR


A) ARITHMETIC OPERATORS:-ADDITION OPERATOR:- It is used to add two or more integers or float value.
SUBTRACTION OPERATOR:-It is used to calculate the difference of two integers or float value.
MULTIPLICATION OPERATOR:- It is used to calculate product of two value.
DIVISION OPERATOR:- It is use to divide two value.
MODULATION DIVISION OPERATOR:- It is used to calculate the reminder left after the integer of two numbers.

B) RELATIONAL OPERATORS:- These are used to compare two value. Comparison is very important in a program and it acts as a base for executing certain statements (i) the program.

  • RELATIONAL OPERATOR:-





No comments:

Post a Comment

Wikipedia

Search results

Search The program