#include <iostream.h>
#include <iostream.h>
void InitArray(int Array[], int ArrayCount); //Function Prototype
void main()
{
int MyArray[10];
InitArray(MyArray, 10); //Function call
for (int i = 0; i < 10; i++)
{cout <<"Element at: "<< i << “= ";
cout << MyArray[i] << endl;
}
}
Previous slide
Next slide
Back to first slide
View graphic version