Pragati Software interview question

multithreading