Correct Answer:
B. - (B) He was not visited by me.
The passive voice of "I did not visit him" correctly transforms the object "him" to the subject "He" and the verb phrase "did not visit" to "was not visited by me." Options A and C contain grammatical errors.