i got this error msg "error: invalid conversion from " int*" to "int" at this lineCode:const int MAX = 15; int constructArray (int); int main () { int array[MAX], size, n=0; srand(time(NULL)); size = constructArray(array); } int constructArray (int a[]) { int i,size; size = rand()%MAX; for (i=0;i<size;i++) { a[i] = rand()%100; } return size; }

" size = constructArray(array); "

can anyone tell me what is wrong and how to solve it?