int x[10]; void parray(int a[]) { int i; i = 0; while(i < 10) { a[i] = i; write(a[i]); i = i + 1; } return; } void main(void) { parray(x); return; }