char t[5][5]; Quiz:is &(t[5]) defined? &(t[5][0])? &(t[5][1])?
@spun_off Paraphrased(?): Is t+5 defined? (char *)(t+5)+0? (char *)(t+5)+1?
-
-
@RichFelker Berkeley CIL (front-end of most C-handling OCaml programs) translates one form into the other rather freely: ok for paraphrasing -
@RichFelker Initial wish was to warn for invalid uses of pointer + integer; CIL forces us to handle &t[…] by translating one to the other.
End of conversation
New conversation -
-
-
@spun_off Feel free to object to my paraphrasing, but I think whether it's valid depends on whether decay-to-pointer is ok for ptr to 1+end.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.