HARMAN interview question

1, Swap two numbers 2, Function pointer