Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

What is the output of the given code?
my_string=Ruby
puts(my_string)

What is the output of the given code?
my_string=Ruby
puts(my_string)
a) Ruby
b) Nil
c) Error
d) none of the mentioned

Answer: c
Explanation: Ruby should be written in double quotes inorder to indicate a string.

Join The Discussion