411 REFERENCE · Wikibooks
C++ Programming/Programming Languages/C++/Code/Keywords/auto
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
The auto keyword is used to have the compiler infer the type of the variable which follows it from the RHS or from its declaration.
Example
auto a = 3; // int
auto b = 4.5; // double
auto p = &a; // pointer