M

Mr. Dubey • 52.30K Points
Coach

Q. What will be output for the following code?

Code:
val1 = ""This is variable one""
puts ""val1""
  • (A) This is variable one
  • (B) VAL1
  • (C) This is variable one val1
  • (D) val1

Explanation by: Mr. Dubey
val1 is the correct output for the following code.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.