I have 3 2-d arrays and tried to convert them into 1-d array. The original arrays are a,b and c and the 1d arrays are a2,b2 and c2. My code segment:
for (i=0, i<MAXI; i++)
for (j=0; j<MAXY; j++)
The output was incorrect and I can't figure out what causes the error. Please advise.