The problem with these printfs is that they will print inconsistent values across different compilers: most likely due to order of evaluations.
They won't, because you'll use the effect analysis to avoid inserting printfs where the compiler has any choice in the matter!
John