#include using namespace std; void PrintArray(int Array[], int ArraySize) { for (int i = 0; i <= ArraySize - 1; i++) cout << "array[" << i << "] = "<< Array[i] << endl; } int main() { int myInts[10]; for (int i=0; i<10; i++) { myInts[i] = i; } PrintArray(myInts, 10); return 0; }