METECS interview question

Questions about multi threading in C++