πŸ“Š Ruby
Q. What will be the output of the given ruby code?
Code:
a = [ a, b, c ] puts a.pack(a3a3a3)
  • (A) ABC
  • (B) abc
  • (C) BCD
  • (D) bcd
πŸ’¬ Discuss
βœ… Correct Answer: (B) abc

Explanation: This will produce the following result : abc

Explanation by: Yami Thakur
This will produce the following result : abc

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
169
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Yami Thakur
Publisher
πŸ“ˆ
86%
Success Rate