#include <stdio.h>
#define SIZE 5
/**
 * Terry Harvey CIS 105 Section 010 TA Tina Weymouth
 *
 *  Demonstration program to show a function that prints an array of
 *  arbitrary size.
 **/
void printArray(int data[], int size);

int main(){

    int a[SIZE] = {4,5,6};
    int b[2 * SIZE] = {2,3,4,5,6,7,8,9,0,1};
    printArray(a, SIZE);

    printArray(b, 2 * SIZE);

    return 0;
}

void printArray(int data[], int size){
    int count;
    for(count = 0; count < size; count++)
	printf("%d ", data[count]);
    printf("\n");
    return;
}

