printf

RAMontante bobmon at iuvax.cs.indiana.edu
Sun Oct 22 05:16:45 AEST 1989


Henry Spencer and Chris Torek both tackle:

zhao at csd4.csd.uwm.edu (T.C. Zhao) <543 at uwm.edu> :
-I recently came across a piece of c code:(both a and b are integers)
-printf("%d"+(a),b);
-in passes compiler without any problem, what does this code mean ?


... and the winner is --- CHRIS TOREK, by a score of 148 to 12!!!
(lines of response, that is)

[Maybe this code merely means that there was a careless C programmer once
upon a time?]



More information about the Comp.lang.c mailing list