Are you sure it was "evolved from" and not "looks like"?
Because pterosaurs have no living descents, and all birds descended from therapod dinosaurs (even if birds were already widespread before the end of the Cretaceous).
Because pterosaurs have no living descents, and all birds descended from therapod dinosaurs (even if birds were already widespread before the end of the Cretaceous).