Yes, they are both right. When taking multiple choice tests, the challenge is not just to pick the right answer. The challenge is to pick the answer that the people in charge want you to pick. My guess is that they want you to pick (a) because it gives more details. A person who merely asks for food might not be a beggar. For example, your child might ask you for food but is not a beggar.