HARMAN interview question

Basic programming questions like, number swap and memory allocation for a pointer.