This works
irb(main):001:0> name = \"Rohit \" \"Sharma\" => \"Rohit Sharma\"
But this doesn\'t
irb(main):001:0> fn
Just put a + inbetween them like
+
name = fname + lname
string + string is defined to return a new string containing the two inputs concatenated together.
string + string