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

sizeof(array) returns different values i - C++ Forum

I'd like to add that you're never going to get the right size (actually, you are, but you're not going to get what you want) for an array with sizeof() unless each element of that array happens to be 1 byte wide (i.e. it's a char array and you're on x86 (

www.cplusplus.com

網址安全性掃描由 google 提供