Question - Explain ampersand parameter (&block) in Ruby.
Answer -
The &block is a way to pass a reference (instead of a local variable) to the block to a method.
Here, block word after the & is just a name for the reference, any other name can be used instead of this.