Why two calls to printf with same parameters were giving completely different results?
Anonymous
Likely the compiler/linker were resolving these calls to slightly different library functions/wrappers.
Check out your Company Bowl for anonymous work chats.