1.

Which of the following header file is a must to implement sleep sort algorithm?(a) string.h(b) math.hw(c) bios.h(d) windows.hThis question was addressed to me during an interview.My question is taken from Sorting topic in section Sorting of Data Structures & Algorithms II

Answer» CORRECT CHOICE is (d) windows.h

The explanation is: To implement sleep sort algorithm we NEED functions like WaitForMultipleObjects(), _beginthread(). These are INCLUDED in the header FILE windows.h.


Discussion

No Comment Found

Related InterviewSolutions