4 ms·
If you're asking about differences between pointers and arrays, one example is: int a[10] = { 7 }; int* p = a; assert(a[0] == p[0]); assert(sizeof(a
by qu4z-2 14y ago
If you're asking about differences between pointers and arrays, one example is:
int a[10] = { 7 };
int* p = a;
assert(a[0] == p[0]);
assert(sizeof(a) == sizeof(p)); // FAILS