#include /* ------------------------ Structure definition ------------------------ */ struct Array { int a[10]; }; void update( struct Array x ) { int i; printf("Before updating array in x: "); for ( i = 0; i < 10; i++ ) printf("%d ", x.a[i]); putchar('\n'); x.a[0] = 4444; x.a[9] = 4444; printf("AFTER updating array in x: "); for ( i = 0; i < 10; i++ ) printf("%d ", x.a[i]); putchar('\n'); }