Really sorry i was looking at the wrong post when i typed that, I ment to say this
IN -> data =0 ;
IN->next = NULL;
Type: Posts; User: jaland10
Really sorry i was looking at the wrong post when i typed that, I ment to say this
IN -> data =0 ;
IN->next = NULL;
LS->mTop = NULL;
I thought this would be the only line you needed but it keeps telling me left operand has incompadible type int.
ypedef struct lnode {
int data;
struct lnode *next;
} listnode_t;
ok my question about this struct is what is the point of the "listnode_t;" at the end of the struct
And for the second...