struct string
{
char content;
struct string *next;
};
typedef struct string STRING;
main()
{
STRING *stringptr;
STRING *newstrptr;
newstrptr = newstrel(newstrptr);
(*newstrptr).content = 'a';
}
STRING newstrel(sptr)
STRING *sptr;
{
sptr = ( STRING * ) malloc (sizeof(STRING));
return sptr;
}