Will the following help with the depth, or any depth? int *a, **b, **c, **d; d = c = b = &a;
I read it as integer arithmetic. It is semantically different from pointer arithmetic.
Even if it is done correctly with a comma after the 'bar' instead of a semicolon, I think it is a bad practice to separate statements with commas. But if you think in semicolon all of the time and skip some brackets…
> some other structure hanging onto the original reference. Let's unleash the superpower of C. You should've been using pointers to a pointer so that it is always a single reference to a memory block. You can't really…
Will the following help with the depth, or any depth? int *a, **b, **c, **d; d = c = b = &a;
I read it as integer arithmetic. It is semantically different from pointer arithmetic.
Even if it is done correctly with a comma after the 'bar' instead of a semicolon, I think it is a bad practice to separate statements with commas. But if you think in semicolon all of the time and skip some brackets…
> some other structure hanging onto the original reference. Let's unleash the superpower of C. You should've been using pointers to a pointer so that it is always a single reference to a memory block. You can't really…