Computer Science, asked by SherinJoysCatherina, 9 months ago

what are the side effects of impure function(a 3 mark answer)

Answers

Answered by Sreyashpedia
4

Answer:

Here's your answer mate

Explanation:

Various side-effects of impure function are :-

1. Modify variable outside of function.

2. Retrieve variable from outside function.

3. Mutate argument.

4. Throw an exception.

5. Call other side-effecting function.

HOPE IT HELPS. PLS MARK ME BRAINLIEST ☺️

Similar questions