Correct option is D
The correct indirect form of the sentence
"‘Have you got a blue scarf’? the customer asked the assistant." is
"The customer asked the assistant if he had a blue scarf."
Direct speech- Direct speech, also known as quoted speech or direct quotation, is a way of reporting someone's exact words.
Indirect speech- Indirect speech, also known as reported speech or indirect quotation, is a way of reporting someone's words or thoughts indirectly, without using their exact words.
Rules for changing direct speech to indirect speech for interrogative sentence-
· When the reporting verb of direct speech is in past tense then all the present tenses are changed to the corresponding past tense, past indefinite changes to past perfect and past continuous changes to past perfect continuous in indirect speech.
·
No conjunction is used, if a sentence in direct speech begins with a question (what/where/when) as the “question-word” itself acts as a joining clause.
· If a direct speech sentence begins with an auxiliary verb/helping verb, the joining clause should be
if or whether.
· Reporting verbs such as ‘said/ said to’ changes to enquired, asked, or demanded.
· This transformation properly adjusts the direct question to an indirect form, shifting the verb tense from present to past to fit the reported speech context.
· Example: "Do you know the time?" she asked. She asked if I knew the time, similarly adjusting the tense for indirect speech.