Question d’entretien chez Wipro

Swap between two numbers without using third variable. Fetch 2 last record from database