Computer Science, asked by basitashraf67315, 10 months ago

differentiate between pure and impure expression​

Answers

Answered by nilesh443261
1

Answer:

1.The return value of the pure functions solely depends on its arguments Hence, if you call the pure functions with the same set of arguments, you will always get the same return values. In pure function it doesn't modify the external variable/data outside the scope and results the same output given in the same input.

Answered by Amanshrivas
0

Answer:

1.The return value of the pure functions solely depends on its arguments Hence, if you call the pure functions with the same set of arguments, you will always get the same return values. In pure function it doesn't modify the external variable/data outside the scope and results the same output given in the same input.

hope it helps you

Similar questions