Quiz: how can strstr() return a char*, which is an offset of its first argument on success, when first argument has type const char*?
-
-
you wouldn't believe how many
-
I'm tempted to show you by asking “why is `const char s[] = "foo"; (char*)s` undefined behavior?” right now, but that would be…
-
a bit of a trick, and would waste time for everyone involved—wrong answers written in which I'm not really interested
End of conversation
New conversation -
-
-
from what I remember of my TA days, it's a daily occurrence.
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.