A
Q. What will be the output of the given ruby code?
Code:
digits = Array(0..9)
num = digits.at(6)
puts #{num}
num = digits.at(6)
puts #{num}
- Correct Answer - Option(B)
- Views: 3
- Filed under category Ruby
- Hashtags:
Discusssion
Login to discuss.