char xxxx; char xxxx;//no error displays if varible re-difined //keil c51 OK
char xxxx; char xxxx;//no error displays if varible re-difined
An actual redefinition would be treated as an error, but the above isn't one.
You want to get out your C textbook and read up on the difference between declarations and definitions. Pay special attention to the topic of "tentative definitions".