- #106
mathmari
Gold Member
MHB
- 5,049
- 7
I like Serena said:Then that list is empty for some reason. (Thinking)
But if this list were also [m]NULL[/m], wouldn't we have to get the following:
[m]The planetary system doesn't contain any asteroids[/m] ?? (Wondering)
Code:
if(p->asteroids == NULL){
printf("The planetary system doesn't contain any asteroids\n");
return -1;
}