so if i want to store a class inside a struct or just a pointer to it. would both be the same?

so if i want to store a class inside a struct or just a pointer to it. would both be the same?
Was this page helpful?