>>115
1024バイトの領域を確保するのならいいのですが、

struct test{
・・・
};

で test 構造体を 条件によって複数個、配列で持ちたいのです。

C表現なら

struct test *aaa;
a = (struct test *)malloc( sizeof(struct test));
で5個に変更したければ、
a = realloc( sizeof(struct test) * 5 );
のような意味です。