You are not logged in. Please login at to post your questions!


pointer structure to a pointer structure

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, 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.

asked 21 Aug '13, 19:45

nsingh1995's gravatar image

accept rate: 0%

I didn't exactly understand your question. Could you please add the code snippet you are referring to, which gave you error. The declarations of the structure would also help to understand.


answered 21 Aug '13, 22:48

tijoforyou's gravatar image

accept rate: 15%

toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:


question asked: 21 Aug '13, 19:45

question was seen: 871 times

last updated: 21 Aug '13, 22:48