print % in c

Sean Eric Fagan sef at kithrup.COM
Thu Feb 28 19:18:15 AEST 1991


In article <15329 at smoke.brl.mil> gwyn at smoke.brl.mil (Doug Gwyn) writes:
>To escape a literal percent character in a *printf()/*scanf() format string,
>specify two adjacent percent characters.

Yes, but we can't expect people to actually *think* and/or read manuals, can
we?

-- 
Sean Eric Fagan  | "I made the universe, but please don't blame me for it;
sef at kithrup.COM  |  I had a bellyache at the time."
-----------------+           -- The Turtle (Stephen King, _It_)
Any opinions expressed are my own, and generally unpopular with others.



More information about the Comp.lang.c mailing list