#include #define ARRLEN 10 int my_array[ARRLEN]; int main(void) { size_t i, j; // guaranteed to be wide enough to address all memory locations. Better than unsigned int. for (i = 0; i < ARRLEN; i++) { my_array[i] = i + 100; } // Output each array element's values for (j = 0; j < ARRLEN; j++) { printf("Element[%zu] = %d\n", j, my_array[j]); } return 0; }