hi,
i know we can vary the no. of records in the list but can we vary the record size itself.
eg
is it possible to vary the length of name [structure variable]Code:typedef struct { int data; char *name; struct Recrd *next; }Recrd; Recrd *head=NULL, *cur=NULL;
i prefer to give the length of string variable at run time than at compile time[name[30]].
any help, will be appreciated.