+ 1
Can someone help me?
Why the following statement is incorrect? struct s1 { struct s1 s; }; And this : struct s1 { struct s1 *s; }; is correct?
2 ответов
+ 4
Maybe can you specify to wich language is related your question ^^
+ 2
Because C++ uses pointers in structs and making objects.