The correct option is B Both A and B, depending on the position of the object
A convex lens produces real and inverted and diminished, same-sized and enlarged & virtual and erect and enlarged image of the object, depending upon the position of the object on the principal axis.
Hence, the correct answer is OPTION C.