Correct Answer: 24 ways
Explanation:
When E is fixed in the middle, then there are four places left to be filled by four remaining letters O, M, G and A and this can be done in 4! ways. ∴ Total number of ways = 4! = 24