私のコードの何が問題になっていますか?配列を出力したいのですが、出力しようとすると、代わりにアドレスが出力されるようです。
#include <iostream>
#include <ctime>
#include <stdlib.h>
using namespace std;
int main ()
{
srand(time(NULL));
int array[9]= {0};
for (int i=0;i<=8;i++)
{
array[i]= (rand()%101);
}
cout<< array;
system ("PAUSE");
return 0;
}