πŸ“Š Ruby
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}
πŸ’¬ Discuss
βœ… Correct Answer: (A) str1: LFC

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
271
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Vinay Kumar
Publisher
πŸ“ˆ
95%
Success Rate