We know when one noun modifies another noun there are three structures:
a) noun + noun
b) noun + 's + noun
c) noun + preposition + noun.
In general, we can say for things,ideas etc. both
a) the garage door (noun + noun) and
b) the door of the garage (noun + prep. + noun)
But I came across two different examples in two different grammar books:
One says "The leg of the table" < ---- is correct while
the other says both "the leg of the table" and "the table's leg" are incorrect,
only the noun + noun structure is possible ------> a table leg.
I agree that "the table's leg" is incorrect? But as for "the leg of the table"
which structure is more grammatically correct in this phrase:
a) noun + noun or
b) noun + prep. + noun