How to access elements of a dynamically allocated structure(node type in link list) via a pointer structure (of previous type). This pointer structure is a element of a pointer structure and made to point to the dynamically allocated structure.I am not able to use (l->connect)->idn , it's showing an error.here, l is a pointer structure with an element connect which is a pointer structure to a list node.I am trying to access idn element of that node via l.
↧