Is it possible to return an abstract class(class itself or a reference, doesn\'t matter) from a function?
No, but a function could have a return type of a pointer (or a reference) to an abstract class. It would then return instances of a class that is derived from the abstract class.