main() { int a[10]={1,2,3,4,5,6,7,8,9,10},b,c; for(b=0;b<10;b++) {if(b%2==0) printf("%d",a[b]);} getch(); }