✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
A function t_square * create_square(int a, int b, int n) dynamically allocates memory to store a t_square. It dynamically allocates and initializes its top_left field with the call to the function create_point(a, b). It also initializes its side field with the value n.
We then consider the following instruction :
t_square * sq = create_square(1, 2, 3);
Among the following instructions, which one allows us to free all the memory allocated by create_square ?