what happens if you do this ... printf("test %x"),variable; <= unexpected behaviour ... or please explain. No warnings, no errors from compiler. Is this only in the evaluation version? Kind regards
what happens if you do this ... printf("test %x"),variable; Undefined behaviour combined with a no-op that makes it impossible to inspect the return value of that printf() --- but that's OK, because you don't even know if the printf() will ever return, so its return value wouldn't do you any good, anyway. <= unexpected behaviour ... I should hope so ;-). It's a serious error to expect any behaviour from the above, so yes, whatever behaviour you get should be unexpected.
printf("test %x"),variable;