#include <stdio.h>
#include <stdlib.h>
int main (void)
{
int a[5];
int i;
for ( i = 0; i < 5; i++ ) {
a[ i ] = 0;
}
printf( "%s%13%s\n", "Element", "Value" );
for ( i = 0; i < 5; i++ ) {
printf ( "%s%13%s\n", i, a[ i ] );
}
return 0;
}
When I do it, it pulls up my cmd window and tells me the program has stopped working. Am I doing it wrong? I am hitting build and run.


Sign In
Create Account


Back to top









