I am reading this code from here(in Chinese). There is one piece of code about testing global variable in C. The variable a has been defined in the file t
a and b have the same addresses because they occur at the same points in the file. The fact that b is a different size doesn't matter where the variable begins. If you added a variable c between a and b in one of the files, the address of the bs would differ.