c++11 new feature automatic type deduction using auto




This video tutorial made by the learning lad explains the automatic type deduction in c++ which is added in c++11 standard using auto.
You will learn how to create and use variables using auto with examples in detail.

source code for this tutorial

#include <iostream>

using namespace std;

int main()
{
    auto age;

    age = 10;

    cout << age;

    return 0;
}

 
Back To Top