Frage im Vorstellungsgespräch bei Cognizant

OOPS Concept 1 coding question swap two numbers without using third variable