The correct answer is C. I was advised by the doctor to give up sweets.
A. To me give up sweets was advised by doctor.
This sentence is ungrammatical. The correct way to say this would be “I was advised by the doctor to give up sweets.”
B. The doctor advised to give up sweets me.
This sentence is also ungrammatical. The correct way to say this would be “The doctor advised me to give up sweets.”
D. I was advised to give up eat sweets by the doctor.
This sentence is ungrammatical. The correct way to say this would be “I was advised by the doctor to give up sweets.”
The verb “advise” takes a direct object, which is the person who is being advised. In this case, the direct object is “me.” The infinitive phrase “to give up sweets” is the object of the verb “advise.”
The sentence “I was advised by the doctor to give up sweets” means that the doctor told me to stop eating sweets.