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.

2
  • Thank you for the quick answer. It really takes some stress off my shoulders, yet I still have to find what is wrong with my code. I know what calloc does on a higher level (meaning the pointer part). By numeric example I mean an example involving certain memory block allocation. Let's say when I use calloc for the first time it allocates memory blocks 0x0000 to 0x0010 etc. It would really help me understand how calloc works behind the scenes. If you could provide that too I would really appreciate it. Commented Jun 25, 2013 at 23:06
  • 1
    That's very system-dependent - there are plenty of open source C library implementations around on the web if you'd like to look at one. Commented Jun 25, 2013 at 23:07