For example, 1st input is "B 2 A 0" press Enter. team1[0] = 'B' and rest of it is addressing True. No problem so far. But in 2nd input this happens.. assume that this is my 2nd input >> "A 1 B 1" team1[1] is not 'A'. as you guessed score1[1] and score2[1] is not 1 either, and that's why im asking.
// the first versions of the arrays
// 0x7fffffffea60 "p\353\377\377\377\177" team1[size]
// 0x7fffffffea50 "\240\353\377\377\377\177" team2[size]
// after 1st input ( assume "B 2 A 0" )
// 0x7fffffffea60 "B\353\377\377\377\177" team1[size]
// 0x7fffffffea50 "A\353\377\377\377\177" team2[size]
// after 2nd input ( assume "A 1 B 1" )
// 0x7fffffffea60 "B\n\377\377\377\177" team1[size]
// 0x7fffffffea50 "A\353\377\377\377\177" team2[size]
char team1[size];
char team2[size];
int score1[size];
int score2[size];
for(i=0;i<size;i=i+1)
{
scanf("%c %d %c %d",&team[i],&score1[i],&team2[i],&score2[i]);
}