經安全檢測,此網站為安全網站,請放心前往原始網址!

c - Using malloc for allocation of multi-dimensional arrays with ...

First, you need to allocate array of pointers like c = ( char** )malloc( N*sizeof( char* )) ... then replace M with the appropriate length for that element; for example

stackoverflow.com

網址安全性掃描由 google 提供