#include <stdio.h>
#include <stdlib.h>
int main()
{
int i, arr [8] = {1,2,3,4,5,6,7,8};
for (i=7;i>=0;i--)
{
printf ("%d\t",--arr[--i]);
}
return 0;
}
out put:
6 4 2 0
#include <stdlib.h>
int main()
{
int i, arr [8] = {1,2,3,4,5,6,7,8};
for (i=7;i>=0;i--)
{
printf ("%d\t",--arr[--i]);
}
return 0;
}
out put:
6 4 2 0