My problem is i am using two pointers in a function which is called in main , so as and when i come out of the fucntion i have to get all the contants of the pointer cleared so that when i call the function again i get as if i am using a new pointer else when i am call the fuction again the arguments r getting added to the pointer.like<br><br>main(){<br>char *des1<br>char *scr1<br>char *name1;<br>char *value1;<br><br> fun_text(des1,scr1,name,value);<br>}<br><br>void fun_text(char *des,char *scr,char *name,char *value)<br>{<br><br>coding for function...<br>}<br><br><br>here in the above for the first time my fuction is working fine but when i call it second time its giving me problem,the arguments i am passing r getting added to the previous pointer only.<br><br>sugget a way where in i can clear the contents of pointer in function<br>