Computer Science, asked by sangeethasangeetha23, 4 months ago

diffentuate pure and impure function​

Answers

Answered by MsInnocent
5

Answer:

In pure function it doesn't modify the external variable/data outside the scope and results the same output given in the same input. In impure function it mutates data/variable outside it's lexical scope Hope this helps

Answered by Anonymous
6

Explanation:

Answer. In pure function it doesn't modify the external variable/data outside the scope and results the same output given in the same input. In impure function it mutates data/variable outside it's lexical scope Hope this helps..

Similar questions