How to properly allocate memory to double pointer?

前端 未结 0 1889
野的像风
野的像风 2020-12-07 17:46

I have this function:

void marray_read( size_t* size, size_t* array[] ) {
    *size = read_size();
    *array = malloc(s         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题