We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am using char Array. For first time i store data in array. Before Next data Storing i will have to empty the array. i dont know how. thanks
Use memset() or zero each array element.
Depending on your application, It may be sufficient just to set the 1st element to zero. (eg, as far as 'C' string functions are concerned, that would be considered an "empty" string)