I know that in C we cannot return an array from a function, but a pointer to an array. But I want to know what is the special thing about structs that makes them re
Structs have data members public by default so it is possible in case of struct to access data in main but not in case of class. So , the struct wrapping is valid.