Skip to content
Prev 31308 / 63424 Next

Strange behavior of C compiled program

On 08/02/2009 5:37 PM, Christophe Genolini wrote:
You likely have the wrong types for the variables you're printing.  In 
C, the format has to match the type of the variable; if you use the 
wrong one, you get garbage.

Duncan Murdoch