The correct option is B comedy
The dialogues of Eliza and Higgins give the impression that the play must be a comedy. Imagery from the passage like "walloped by Mr. Pearce with a broomstick" and "If the king finds out you are not a lady, you will be taken to the Tower of London, where your head will be cut off as a warning to other presumptuous flower girls." - which is quite unbelievable will invoke involuntary laughter. So, option C is the answer. The other options are incorrect because the play is definitely not a tragedy; it is also not a tragic-comedy and not a farce.