I have been useing this to make every array subscript null ...
Isn't there a better way? Yes, yes i know i can make my own function out of that, but I would like to force every subscript of the array to be null once it(char array) is declared ... ? TIA.Code:char str[80]; int idx; for( idx = 0; idx < strlen(str); idx++ ) str[idx] = NULL;