Practice - 4
What is the output of below code fragment ? #include <stdio.h> #include <string.h> void *x(char *p1, char *p2); int main() { char *s, *d; strcpy (s, "hello"); x(s, d); return 0; } void *x(char *p1, char *p2) { void *t = p2; while (*p2++ = *p1++); return t; }