i have the following variable
char text1[30]=" ";
char text2[30]=":";
then after putting some values in text1 and text2 i do
strcat(text1,text2);
then i need to clear text1 and text2 i tried the free command but it gave me a segmentation error....what is wrong??
i am using C in linux