We would like to question about the condition of for loop that can make us store the 4th element in the string array'n' into another array called x
so we want x to contain all the 4th elements of n string array and we stopped at the condition of for loop
can anybody help ?
this code isn't working .
1 2 3 4 5 6 7 8
string x[100];
int w=3;
for ( int i=0;i<100 ;i=i++)
{ x[i]=n[w];
w=w+4;
}