Q15
In Ruby, what is the difference between a proc and a lambda?
A.
Procs perform strict argument checking, while lambdas do not
B.
Lambdas can accept a variable number of arguments, while procs cannot
C.
Lambdas perform strict argument checking, while procs do not
AnswerD.
Procs can accept a variable number of arguments, while lambdas cannot
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board