Home / MCQ Bank / Computer
Computer Arrays, Hashes And Strings In Ruby Difficulty: Medium

What is the output of the given code? a=["hey", "ruby", "language"] b=[1, 2, 3] puts b[1] puts a[2]

Select the correct option to test your answer:

More Computer Questions

What will be the output of the following C++ code? #include <iostream> using namespace std; int gcd (int a, int b) { int temp; while (b != 0) { temp = a % b; a = b; b = temp; } return(a); } int main () { int x = 15, y = 25; cout << gcd(x, y); return(0); } You can embed a Microsoft Word tale in a slide by_____________? Which function will return the current file position for stream? The ascending order of data hierarchy is? Which are the most important features of Microsoft Windows program?