4 ms·
Can you elaborate on this?
by teichman 15y ago
Can you elaborate on this?
- matthavener 15y agoIn C, the array as a function parameter is different from an array as a variable/struct member. So, as a parameter, sizeof(x) is sizeof(int*). As a variable, sizeof(x) is sizeof(int[5]).