The correct answer is D. no article.

The sentence "Sheela gave me a pen. I liked the pen." is grammatically correct, but it is not clear which pen Sheela gave you. It could be any pen, or it could be a specific pen that Sheela had in mind.

If you want to be more specific, you can use an article. For example, you could say "Sheela gave me a blue pen. I liked the blue pen." This sentence makes it clear that you are talking about a specific pen, and not just any pen.

However, if you want to be more general, you can omit the article. For example, you could say "Sheela gave me a pen. I liked the pen." This sentence does not specify which pen you are talking about, but it does make it clear that you liked the pen that Sheela gave you.

In general, you should use an article when you are talking about a specific thing, and omit the article when you are talking about a general thing.