Meerkats are not known to eat king cobras. In fact, meerkats are typically prey for king cobras. King cobras are known to eat a variety of animals, including rodents, birds, and other snakes.
It is possible that a meerkat could eat a king cobra if the meerkat was able to catch the snake by surprise and quickly kill it. However, this would be a very rare occurrence.