Auto
Auto
The auto specifier is a way of detecting the data type based on assignment value. 
auto i = 5;   // causes i to be of type int
			  // and
auto j = 5.0; // causes j to be of type double.
The auto specifier is a way of detecting the data type based on assignment value. 
auto i = 5;   // causes i to be of type int
			  // and
auto j = 5.0; // causes j to be of type double.