Q. What is the difference between a block and a proc in Ruby?
β
Correct Answer: (C)
A block can be passed directly to methods, while a proc needs to be converted into an object
You must be Logged in to update hint/solution