例えば
配列array[]があって、while文でarray[]の全ての要素を表示するにはどうしたらいいでしょう?

int i=0;
while(array) {
printf("%d\n", array[i]);
i++;
}
これじゃダメですよね。