int a[]={1,2,3,4}
int *p = a++;
cout<<*p<<endl;
I wanted to know why the above code output will generate an error and which line will generate an error?
int a[]={1,2,3,4}
int *p = a++;
cout<<*p<<endl;
I wanted to know why the above code output will generate an error and which line will generate an error?