Things you may not have known about C: void f() { f(15, "abc"); } // legal int *myNull = 1 - 1; // legal int global; // ~maybe~ a definition
How is the first one legal? It may not be a constraint violation but it's definitely UB if invoked (calling func w/ wrong args).
-
-
Whoops, of course. Meant to invoke the prototype-less function rules, but that doesn't apply to definitions.
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.