Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • thanks! I thought about it) But, as I uunderstand, *initializable_value stores address of value in heap, and it's points to the same address as initializable_node -> value, why it's not true? Why we should do extra assigning? Commented Jun 3, 2017 at 10:47
  • See edit, it's not true because initializable_node->value is NULL and therefor his address is garbage. Only when you do the calloc function you have a real address. So only then you assign the address you have allocated to the structure. Commented Jun 3, 2017 at 10:51
  • You are right, I had understood. I am ashamed for my stupid questions. Commented Jun 3, 2017 at 12:07