#include
#define N 10
main() {
int arr[N];
char i,num;
srand(time(NULL));
for (i=0; i i++) {
arr[i] = rand()%100 - 50;
printf("%d ", arr[i]);
}
printf("\n");
num = 0;
for (i=1; i <<span> N; i++) {
if (abs(arr[i]) < abs(arr[num]))<br> num = i;
}
printf("%d\n", num+1);
}