PREV INDEX NEXT

Author: Unknown
Subject: Question about typedef
Date: Friday, 13 Mar 2020, 23:01:43

I have a question about an example in Professor Aspnes' notes (page 210).

If you have the following two lines:
    typedef struct elt *Stack;
    Stack *s;

Is 's' a pointer to a pointer to a elt struct or is it simply a pointer to a elt struct?

Thanks.
PREV INDEX NEXT