Can member variables of a class be of the same type?
I've been trying to find the answer to this question and keep coming up short. I know in structs we can use variables of different types. However, I can't seem to find any information talking about the above statement in my book. Any ideas.
If an instance of a class contains an instance of itself, then that instance contains an instance and so on ad infinitum so that a single instance would require infinite memory.