Home > DeveloperSection > Interviews > What are the different types of operators and their order of precedence?

Posted on    March-19-2011 12:00 AM

 VB Script VB Script 
Ratings:
 2 Answer(s)
  1184  View(s)
Rate this:

Dependra Pathak
Dependra Pathak

Total Post:77

Points:385
Posted on    March-19-2011 12:00 AM

Order of evaluation of operators is, first arithmetic operators are evaluated, and comparison operators are evaluated next and at the last logical operators are evaluated at the last. In arithmetic operators negation, Exponentiation, multiplication and division, integer division, modulus arithmetic, addition and subtraction and string concatenation are provided.

Dependra Pathak
Dependra Pathak

Total Post:77

Points:385
Posted on    March-19-2011 12:00 AM

Order of evaluation of operators is, first arithmetic operators are evaluated, and comparison operators are evaluated next and at the last logical operators are evaluated at the last. In arithmetic operators negation, Exponentiation, multiplication and division, integer division, modulus arithmetic, addition and subtraction and string concatenation are provided.

Don't want to miss updates? Please click the below button!

Follow MindStick