>>888
strcpyを使えてるから、たぶんあなたに分かりやすいのは
for( i=0; i<50; i++){
 strcpy( code1[i], "\0");
 strcpy( code2[i], "\0");
 strcpy( code3[i], "\0");
}
かな。