Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: vali
  • Order by date
  1. vali

    Help on calloc and malloc

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

Part and Inventory Search

Back
Top