void main()
{
int numbers[max];
numbers={25,50,10,30,40};
for{ loc=max-1; loc>=10; loc--)
cout>>numers[loc];
}
find the error int it????????
provided that 'max' and 'loc' actually exist, as they are not defined here, the last line should be cout << numbers[loc];
Also the line:
for{ loc=max-1; loc>=10; loc--)
should be corrected to:
for( loc=max-1; loc>=10; loc--)
void main()
This is wrong. If your compiler accepts it, throw it away and get a proper one.