123456789101112131415 |
- /* no_data.c -- uninitialized array */
- #include <stdio.h>
- #define SIZE 4
- int main(void)
- {
- int no_data[SIZE]; /* uninitialized array */
- int i;
-
- printf("%2s%14s\n",
- "i", "no_data[i]");
- for (i = 0; i < SIZE; i++)
- printf("%2d%14d\n", i, no_data[i]);
-
- return 0;
- }
|