How can I get the size of an array from a pointer in C?
經安全檢測,此網站為安全網站,請放心前往原始網址!
How can I get the size of an array from a pointer in C?
2008年10月24日 - if (NULL == (p = calloc(sizeof(struct mystruct) * n,1))) { /* handle error ... No, there is no way to get this information without depending strongly on ...