do? and how ++(*a) being y? char a='x';
cout <<&a<<endl;
char *b = &a;
cout <<++(*b)<<endl;
since char type is array,
char a[] = "x"; makes sense, i am confused about char a ='x';
++(*b) really is auto_casting the char to asci number, but how did it convert back? i thought i need char(++(*b))?
cout <<&a<<endl;
char *b = &a;
cout <<++(*b)<<endl;
since char type is array,
char a[] = "x"; makes sense, i am confused about char a ='x';
++(*b) really is auto_casting the char to asci number, but how did it convert back? i thought i need char(++(*b))?