Code Snippets C

#include
int main(void)
{
int j[100];
int k;
/* load j with values 0 through 99 */
for(k = 0; k < 100; ++k)
j[ k ] = k;
/* display contents of j */
for(k = 0; k < 100; ++k)
printf("%d ", j[ k ]);
return 0;
}