whats wrong with the following code??
int j[100] = {0};
int i = 0;
for ( ; i < 10; i++ ) {
puts( j[i]);
}
it keeps giving the warning
warning: passing argument 1 of ‘puts’ makes pointer from integer without a cast
And when its ran it gives a segmentation fault....any ideas?