/* * File: readindx.c */ int a[10]; int junk; main() { int i, tot=0; for(i=1; i<=10; i++) tot += a[i]; return (0); }