employer cover photo
employer logo
employer logo

Tata Consultancy Services

Part of Tata Group

Engaged Employer

Tata Consultancy Services Interview Question

Swapping 2 variables without using 3rd variable

Interview Answer

Anonymous

Aug 21, 2018

x = x + y; y = x - y; x = x - y;

3