Hello..
i am facing the problem in dynamic allocation to read the data in structure.
here is the code.

 typedef struct
{
   short int fft;
   short int diff;
}symbol;
typedef struct
{ 
    symbol detail;
    float RE[];
    float IMG[];
}receive; 
fun()
{
 float a[fft_size],b[fft_size];
 //here i am allocating the memory for structure//
   // symbol detail;
    receive info;
.
.
.
}
// here is my problem 
//the first structure give the info about size of 2nd structure (presently i am using as static  )dynamically i.e RE[fft].IMG [fft] during run time only, like this
for(i=0;i<fft;i++)
{
info.RE[i]=a[i]
info.IMG[i]=b[i]
}

Please give me the soln
Thanks.

Could you elaborate a little more? What do you want to do? Allocate memory dynamically?
Use malloc