Home / Programming MCQs / Ruby MCQs / Question

V

Vinay Kumar • 8.55K Points
Tutor III

Q. what will be output for the following code?

Code:
str1 = LFC puts "str1: #{str1}"
(A) str1: LFC
(B) str1: #{str1}
(C) str1: {LFC}
(D) str1: #{LFC}

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.