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

c - How to find the 'sizeof'(a pointer pointing to an array ...

2009年1月29日 - int main() { int days[] = {1,2,3,4,5}; int *ptr = days; printf("%u\n", ... No, you can't. The compiler doesn't know what the pointer is pointing to.

stackoverflow.com

網址安全性掃描由 google 提供