You may get the length of an array by using pointers as well. This simple line of code can get the answer: int size = *(&arr + 1) – arr;. Where expression *( ...
確定! 回上一頁