Q. What will be output for the following code?
Code:
str1 = "LFC" puts 'str1: #{str1}'
β
Correct Answer: (B)
str1: #{str1}
Explanation: Cannot Interpolate so output is str1: #{str1}.