thanks for reply.

it is a C program.

does anyone know if its possible to have an an array of structures in XDR format.

from I know it should be possible but I get following error from this code

struct test{
int val;
char letter;
bool flag;
};

typedef test test1;
test1 test_arr<>;

ERROR:

test1 test_arr<>;
^^^^^
line 55: definition keyword expected