// Illustrates initialization and auto. // Best to use = for initialization of variables of auto type. // This example is OK. #include void f(){ auto x = 101; // x is an int std::cout << "x: " << x << std::endl; // OK: x: 101 } int main(){ f(); }