Exam-style question
Try this first
If add 4 returns a function that adds 4 to its argument, what is the result of applying that returned function to 7?.
- A.3
- B.4
- C.7
- D.11
Answer and explanation
Concise answer
11
Why this is correct
The first argument fixes the value 4. Applying the resulting function to 7 calculates 4 + 7, giving 11.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
