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
D. Procs can accept a variable number of arguments, while lambdas cannot
Answer: Option C

Join The Discussion