Microsoft interview question

difference between threads and processes, sorting algorithms, memcpy and its corner cases.