Ok, so here’s another question. Each major key has a relative minor containing all of the same notes. E flat shares the same notes as C minor for example. They both contain the same three flats and look like this on a stave:
So how exactly do you know, just by looking at that, whether the song is in E Flat Major or C minor?