Posted by: testdirector August 3, 2005
Login in to Rate this Post:
0
?
Let us change the matter a little and use arrays.
#include "stdio.h"
int main()
{
char p1[] = "abcde";
char q1[] = "pqrst";
char *p, *q,*st;
st = p = p1;
q = q1;
while(*p++ = *q++);
printf("%s", st);
return 0;
}
Will it work?