title: c++ auto cin example
body: <p>I am getting error like </p>
  
  <pre><code>/hackerearth/CPP14_28/s_e3.cpp: In function ‘int main()’: /hackerearth/CPP14_28/s_e3.cpp:6:10: error: declaration of ‘auto x’ has no initializer auto x; ^ 
  </code></pre>
  
  <p>My code is ,</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  
  int main()
  {
      auto x;
      cin &gt;&gt; x;
      cout &lt;&lt; x;
      return 0;
  }
  </code></pre>
  
  <p>I want similar functionality that data type should be dynamically assigned</p>