auto From C/C++ Reference previous page next page cppreference.com > C/C++ Keywords > auto auto The keyword auto is used to declare local variables, and is purely optional. Related topics: register previous page start next page