3 ms·C++ got auto because C++11 introduced types that could not be named, and this had to be inferred using auto.by saagarjha 4y agoC++ got auto because C++11 introduced types that could not be named, and this had to be inferred using auto.