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

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

瀏覽:1388
日期:2025-04-27
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...看更多