auto n=1; // this will make the type int, and you can't change trough the program; cout << n; // OR auto n="how you doin'"; cout << n;