Label 2

Menu

Arithmetic Operators


Arithmetic operators are used for mathematical expressions.
The given table shows various arithmetic operators and their description:

OperatorsSymbolDescription of Symbol
Subtraction-Subtracts two operands (val1-val2)
Addition+Adds two operands (val1-val2)
Multiplication*Multiply two operands (val1*val2)
Division/Divides 2 operands (val1/val2)
Negation~Negates the operand
ModuloModGives the remainder after division (Val1 mod Val2)
String Concatenation&Concatenates two strings (val1 & val2)
Exponentiation^Raises the first operands to the power of second operand (val1^val2)

 

Pages (5)12345 Next
 
Support : Crazy Website | crazy Template | admin
Copyright © 2013. AMC ENGINEERING COLLEGE - All Rights Reserved
Template Modify by Crazy Website
Proudly powered by ADMIN