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 strongm 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: cls123
  • Order by date
  1. cls123

    Dynamic memory allocation for 2D arrays

    #include <stdio.h> #include <string.h> #include <malloc.h> int **Malloc(int,int); void MemRelease(char **,int); void main() { int i = 0; char **b; b = (char**)Malloc(5,10); for(i = 0; i < 3; i++) scanf(&quot;%s&quot;,b[i]); for(i = 0; i < 3; i++) printf(&quot;%s\n&quot;,b[i])...

Part and Inventory Search

Back
Top