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
"or please explain." Well, it's perfectly legitimate 'C'. Look up the comma operator in your 'C' book.
"Well, it's perfectly legitimate 'C'." I'd better qualify that: it is syntactically correct 'C' that probably invokes undefined behaviour, and may not work as expected, depending on what your expectations were.