-Here auto refers as automatically.
-The auto keyword specifies that the type of the variable that is being declared will be automatically deducted from its initializer.
-auto becomes int type if even an integer reference is assigned to it
#include < iostream>
using namespace std;
//Here i is automatically integer number
//Here f is autommatically float number
cout<<"Value of i is: "<< i<< endl;
cout<<"Value of j is: "<< f;
Value of i is: 10
Value of j is: 4.1
-In this program, the data_type of the variable is automatically decided by the compiler due to the auto keyword.