differentiate between pure and impure expression
Answers
Answered by
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
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