What value does temp have? Why do you think it has that value?Code:void new() { char *temp; printf("result value in function is <%s>\n",result); strcpy(temp,result); printf("temp value is <%s>\n",temp);
Quzah.
What value does temp have? Why do you think it has that value?Code:void new() { char *temp; printf("result value in function is <%s>\n",result); strcpy(temp,result); printf("temp value is <%s>\n",temp);
Quzah.
Hope is the first step on the road to disappointment.