Pergunta de entrevista da empresa Tata Consultancy Services

Swap the elements without using third variable in C