employer cover photo
employer logo
employer logo

Techport Thirteen

Is this your company?

Techport Thirteen Interview Question

Can you explain the difference between = and ==?

Interview Answer

Anonymous

Jan 8, 2015

= is an assignment operator while == is a comparison operator. x = 5; assigns x the value "5" x == 5; checks if x is equal to 5 and returns true or false.