what is a pure expression ? give an example.
Answers
Answered by
3
Explanation:
an expression which gives without any idea .....
Answered by
5
Answer:
Expression on right of assignment is PURE as it has all operands as integer only. This is called “pure integer arithmetic expression”.
double x=3.5,y=4.5; //Two double variable declared and initialised
double z=x+y*y;
Expression on right of assignment is also PURE as it has all operands as double type only. This is called “pure real arithmetic expression”.
Similar questions