PREV INDEX NEXT

Author: Unknown
Subject: unsure about createD()
Date: Wednesday, 18 Mar 2020, 18:18:59

My plan currently is to have a struct stack, and then in my deque struct, have two stacks. I'm confused about what exactly I need to do in   createD() -- I understand (I think) that we're supposed to malloc space for *d, the pointer to a Deque that's passed into the function, but I'm unsure of what to do beyond that. Should I set my H and T stacks to NULL/0? Do I need to do that, or are they automatically initialized to 0?
PREV INDEX NEXT