I need to understand the following code.
typedef struct x
now,here *pstx is a pointer to a structure stx.
1.if we write stx *pstx;here pstx is an array of pointers to the structure stx.
to allocate the memory pstx = new stx;
2.if pstx = new stx.
Coulde somebody tell me the difference between 1 and 2.