Is it possible in C++ to write a function that returns a pointer to itself?
If no, suggest some other solution to make the following syntax work:
som
No, you can't, because the return type has to include the return type of the function, which is recursive. You can of course return function objects or something like that which can do this.