1.

The ‘=’ is used for assigning value to variable?(a) True(b) FalseI had been asked this question in an interview for internship.Query is from Comparisons in chapter Mathematic Operations and Loops of Ruby

Answer»

Correct OPTION is (a) True

For explanation I WOULD SAY: The ‘=’ is known as ASSIGNMENT operator.



Discussion

No Comment Found

Related InterviewSolutions