What is the purpose of the 'std::thread::hardware_concurrency()' function in C++ multi-threading?
A. To return the number of threads created by the program
B. To return the number of cores in the system
C. To return the number of hardware concurrency units supported by the implementation
D. To return the number of threads currently running
Answer: Option C

Join The Discussion