HCLTech interview question

1)Array sorting 2)Swap 2 numbers without temp variable