If I have a char array in C I am using it in a loop:
char arr [100];
while (1) {
fill arr from some source
store arr in some where
}
Now, with this approach, I loose all the subsequent arrays, I maintain a pointer to the last one only. How can I maintain that?
Please don't suggest using strings to me :)