The correct option is C Both A and B
A sentence is in active voice when the subject is the doer of the action.
A sentence is in passive voice when the new subject (object in active voice) is the receiver of that action.
The object in the active voice now takes the place of the subject, and vice versa. (subject + verb + object, where the subject and object swap places)
When there are two objects in a sentence, there are two possible ways of writing in active voice as well as in passive.
The given sentence has two objects, the indirect object "you" and direct object "a ticket". Hence when it's converted to passive voice, there are two ways in which the sentence can be written:
Direct object D.O (a ticket) + Verb (will be given) + Indirect object I.O (to you) + Subject (by the manager) and
I.O + verb + D.O + subject
Also, 'by' is added to the original subject, as the meaning of the sentence must remain the same.
Hence both options A and B are correct. So, we can't choose only A or only B.
Option C contains A and B, hence C is the correct option.
Option D is incorrect as the answer lies in C.