有以下程序: #include <iostream> #include <cstdlib> using namespace std; int main() { int arraysize; int *array; cout<< Please input the size of the array: ; cin>>arraySiZe; array=new int[arraysize]; if(array==NULL) { cout<< allocate Error n ; exit(1); } for(int i=0;i<arraysize;i++) array[i]=i*i; int j; cout<< which element you want to check: ; cin>>j; cout<<array[j]<<end1; return 0; } 执行程序输入:10<空格>5,则输出结果为( )。
A.allocate Error
B.1
C.0
D.25