M
Marco Stauder
What does this expression exactly do.
*x++=*y++;
x and y are both char pointers.
x points on p_ch which points on a C-string.
y indeed points directly on a C-Strings.
I know that the post-increment operator
has got a higher priority than the
dereference operator.
....
p_ch=cstring;
x=p_ch;
*x='\0';
*x++=*y++;
....
What happens with the '\0' (*x='\0'; ?
Does somebody know?
thx
*x++=*y++;
x and y are both char pointers.
x points on p_ch which points on a C-string.
y indeed points directly on a C-Strings.
I know that the post-increment operator
has got a higher priority than the
dereference operator.
....
p_ch=cstring;
x=p_ch;
*x='\0';
*x++=*y++;
....
What happens with the '\0' (*x='\0'; ?
Does somebody know?
thx