Dyanamically allocating memory for a structure code example
Example: Dyanamically allocating memory for a structure
1 2
+-----+ +------+
y------>| x------>| *x |
| n | +------+
+-----+
1 2
+-----+ +------+
y------>| x------>| *x |
| n | +------+
+-----+