News for hackers. Stuff that matters.
Re:Pointers Are Complicated II, or: We need better language ... by abra529 on Tuesday December 15, 2020 @05:38AM (#25428952)
Is it not guaranteed? Looking at this question [1] on StackOverflow and the quotes from the standard included in the question, it seems that the value should be preserved.

(It raises the issue of whether (char※)iq should technically be (char※)(void※)iq if this were C code, but the (void※) cast can be inserted without changing anything about the problems discussed in the article.)

[1] https://stackoverflow.com/q/34291377

Re:Pointers Are Complicated II, or: We need better language ... by tsimionescu on Tuesday December 15, 2020 @04:39PM (#25435570)
Yes, you are absolutely right, so my argument flies out the window. Thanks for finding the relevant C spec!