2 Answers - Sort by: Date | Rating
Arithmetic operators are the operators unwary +, unwary -, binary +, binary -, *, / and % (modulo division). These operators are used to evolve an expression. An expression that contains any or all of these arithmetic operators and operands is called an arithmetic expression.
0
0
The arithmetic operators are the symbols that represent arithmetic operations. These are used in arithmetic expressions. Each arithmetic operator operate upon two numeric values. (Constant or variable) and returns a value. Following are the arithmetic operators used in C++ language.
Operator Meaning
+ Addition
- Subtraction
* Multiplication
/ Division
% Remainder
All arithmetic operators except the remainder operator, are used for all type of numeric data.
The remainder or modulus operator (% operator) can only be used for integer type data. It returns the remainder when one integer id divided by another integer e.g. 5%3 returns the remainder 2.
Arithmetic Expression
An arithmetic expression is a combination of variables, constants and arithmetic operators. It is used to calculate the value of an arithmetic formula. It returns a single value after evaluating the expression.
The value of the expression is assigned to a variable on the left side of"=" operator. This variable is known as receiving variable.
The operator"=" is called assignment operator. It is used to assign the calculated value of the expression to the receiving variable. The receiving variable must be numeric type e.g. if m=10,x=5 the expression may be written as:
M * x + 100
Operator Meaning
+ Addition
- Subtraction
* Multiplication
/ Division
% Remainder
All arithmetic operators except the remainder operator, are used for all type of numeric data.
The remainder or modulus operator (% operator) can only be used for integer type data. It returns the remainder when one integer id divided by another integer e.g. 5%3 returns the remainder 2.
Arithmetic Expression
An arithmetic expression is a combination of variables, constants and arithmetic operators. It is used to calculate the value of an arithmetic formula. It returns a single value after evaluating the expression.
The value of the expression is assigned to a variable on the left side of"=" operator. This variable is known as receiving variable.
The operator"=" is called assignment operator. It is used to assign the calculated value of the expression to the receiving variable. The receiving variable must be numeric type e.g. if m=10,x=5 the expression may be written as:
M * x + 100
0
0
- My Epson Stylus DX4000 Will Print But Not Scan. What's Wrong?
- My Epson Stylus 4000 Will Print But Not Scan. What's Wrong?
- Where Can You Learn Salsa In The Metropolitan Area Of Minnesota?
- What Is Code Switching?
- How To Use Printer?
- Why Fixed Disk Error?
- What Are The Advantages Of A Wired Computer Network?
- A Very Unique Nd Most Coveted Career?vat Al R D Diff. Fields Xcept Medical?
- How Computer Helps?
- How Computer Affects Study Habits?
- What Does A Blue Square With White "> >" On My MS Office File Icons On The Desktop Mean?
- Explain CPU And Its Parts ALU And CU?
- What Is Example Of People Ware?
- I Have A Desktop But Considering Buying A Laptop Will I Need A Router And Why?
- What Are Recent Applications Of Computer In Medical Field?
- What Is Image Distortion?
- How To Replace Ink In Epsom Dx4000?
- How To Change The Ink Cartridge On A Sx200?
- What Is Voice Output?
- When Carry Flag Is Set?
- What Is First Computer Of The World?
- What Is A Main Frame Operating System?
- Refer To The Exhibit. A Technician Is Working On A Network Problem That Requires Verification Of The Router LAN Interface. What Address Should Be Pinged From This Host To Confirm That The Router Interface Is Operational?
- Can I Access Other Computers On My Personal Wifi Home System Without Other Computer Knowing?
- What Is Data Management Technology?

New Comment - Comments are editable for 5 min.