Vidyalelo
Ruby Programming · Q38

Control Structures in Ruby

Programming · Ruby Programming · question 38

Q38

What error does the if condition gives if not terminated with end statement?

A.
Syntax error
B.
Unexpected end
C.
Expecting keyword end
D.
All of the mentioned
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board