Q17
What is the main difference between a lambda and a Proc in Ruby?
A.
Procs can be converted to lambdas, but lambdas cannot be converted to Procs
B.
Lambdas are objects of the Proc class, while Procs are not
C.
Lambdas enforce 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