A

Admin • 828.03K Points
Coach

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}
  • Correct Answer - Option(A)
  • Views: 13
  • Filed under category Ruby
  • Hashtags:

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.

Be the first to start discuss.