Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 40121

pointer structure to a pointer structure

$
0
0

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.


Viewing all articles
Browse latest Browse all 40121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>