Correct answer: A. Sharing relevant surrounding code, language/framework version, and project conventions
Explanation
Sharing relevant context — surrounding code, versions, and conventions — produces far more usable code than a bare description.
Practise 3 questions on this topic
Take Prompt Engineering for Code — Timed Test (3 questions) — scored instantly, explanation for every question, no login.