I am a beginer in C, i have a problem that i hope somebody will help me.
I put a numbers of value in the array such as (a long list);
x[0]=10;
x[1]=20;
x[2]=5;
x[3]=15;
x[4]=8;
i need to find out which array have the smallest value, so the answer is array number #2. ( i need array number, not the value in the array).
how should i do to use "for" looping ?
Thanks,