Computer Science, asked by enriangnlaro328, 1 year ago

When one of the operand is real and the other is integer the expression is called a?

Answers

Answered by samleanderv
0

Answer:

Mixed Mode Arithmetic Expressions

If operands in an expression contains both INTEGER and REAL constants or variables, this is a mixed mode arithmetic expression.

In mixed mode arithmetic expressions, INTEGER operands are always converted to REAL before carrying out any computations. As a result, the result of a mixed mode expression is of REAL type. The following is a table showing this fact.

Operator INTEGER REAL

INTEGER INTEGER REAL

REAL REAL REAL

The rules for evaluating mixed mode arithmetic expressions are simple:

Use the rules for evaluating single mode arithmetic expressions for scanning.

Similar questions