C pointer to array/array of pointers disambiguation - Stack Overflow

C pointer to array/array of pointers disambiguation - Stack Overflow

瀏覽:1408
日期:2024-04-22
The answer for the last two can also be deducted from the golden rule in C: Declaration follows use. int (*arr2)[8]; What happens if you dereference arr2? You get an array of 8 integers. int *(arr3[8]); What happens if you take an element from arr3? You g...看更多