good evening,
I have doubt in addressing of char ,just take the snippet of code,
char c;
char *cptr;
cout<<&c;
*cptr=&c;
cout<<cptr;
error: invalid conversion from 'char’ to ‘char’ [-fpermissive]
- cptr = &c;
this error i got;
please explain my faults and solution of this problem.