What is the use of else statement?
(a) When the if condition is false then the next else condition will get executed
(b) When the if condition is false then the elsif condition will get executed
(c) When the if condition is false and if else condition is true then only it will get executed
(d) None of the mentioned
I got this question during an online interview.
This key question is from The Else Conditional Statement topic in portion Conditional Statements of Ruby