Q. What will be the output of the given ruby code?
Code:
a = [ a, b, c ] puts a.pack(a3a3a3)
β
Correct Answer: (B)
abc
Explanation: This will produce the following result : abc