i am writing a code that inputs a struct (of two ints) into an array pointer of this specific struct,
i need that some of the "cell" in the array will be empty(with NULL or spam like -568558), but still i need to identify those cells and not print them....just the int numbers, how can i do that?

here is the code and the output...

the output is containing both the numbers of the pointers and the right output i need(i need just to print the input acctually)...

its the first time i am writing here
so i am sorry if somehow i am passing on the rules of the forum.

Well, since -1 in both fields is your stopping case, you can use that as an "empty" instance.