1
struct S { int x; }; int array_of_structs(struct S* arr, int n){ int s=0; for(int i=0;i<n;i++) s+=arr[i].x; return s; }