I have an array:
int array[50];
I want to null all the positions in the array because I will be copying some stuff later into it, but at the same time, not all the positions maybe filled. So later when I do a check to see how many integers are in there I can be assured that the checking will stop when it encounters a NULL.
However when I do try to assign NULL
array[n++] = NULL;
I get warning assignment makes integer from pointer without a cast.
What do I do?