FIS Interview Question

basic cpp concepts puzzles mutlithreading