3 ms·
Are you aware that given int a[3];, (&a+1) and (a+3) denote the same address? If you are, how can that possibly work if as you suggest, &a and a are indistingui
by hvdijk 6y ago
Are you aware that given int a[3];, (&a+1) and (a+3) denote the same address? If you are, how can that possibly work if as you suggest, &a and a are indistinguishable to the compiler, that they are both seen as a pointer to int?
- jstimpfle 6y agoThat came quite honestly as a huge surprise to me. I've never seen this before. Thanks for the heads up!