Frage im Vorstellungsgespräch bei Cognizant

c++ basics oops, macro vs inline function, predicates, vector vs list program to print 1,2,3 using 3 threads thread 1 print 1, thread 2 print 2,thread 3 print 3