I'm in doubt about referencing a two dimensional array, which one is right?
Is this correct, or should the array decl. be:Code:char 40charName[41]; char test[20][41];// An array containing 20 names, upt to 40 characters for(int i=0;i<20;i++) strcpy(test[i], 40charName);
Any clues??Code:char test[41][20];