Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define MAX 10 /*Size of the array*/
- /******************************************************
- * init_array_1 -- Zeroes out an array. *
- * *
- * Parameters *
- * data -- The array to zero out. *
- ******************************************************/
- void init_array_1(int data[])
- {
- int index;
- for (index = 0; index < MAX; ++index)
- data[index] = 0;
- }
- /*******************************************************
- *
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement