I applied online. I interviewed at Tata Consultancy Services in Jun 2024
Interview
I was asked questions from OOPs concepts, C programming language and SQL. I was also asked to write the pseudocode for swapping two numbers without using a third variable. I was also asked to write sole SQL queries.
Interview questions [1]
Question 1
How to swap 2 numbers without using a third variable?