I think it's a small mistake in topinc's answer. calloc is intend to use when you need memory for an array. Using calloc, the memory is filled with 0.<br>I think the right example is<br>pstr arr = (pstr)calloc( 8, sizeof( k_paths ) );<br><br>or (the same effect)<br><br>pstr arr = (pstr)malloc( 8...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.