title: lvalue required as left operand of assignment error when using C++
body: <pre><code>int main()
  {
  
     int x[3]={4,5,6};
     int *p=x;
     p +1=p;/*compiler shows error saying 
              lvalue required as left 
               operand of assignment*/
     cout&lt;&lt;p 1;
     getch();
  }
  </code></pre>