print % in c

Dick Dunn rcd at ico.isc.com
Tue Feb 26 11:43:36 AEST 1991


brianh at hpcvia.CV.HP.COM (brian_helterline) writes:
...
> 	printf( "This is a slash \\ and a precent sign \%\n" )
> 
> would produce: This is a slash \ and a percent sign %

No, it wouldn't, and this is the second person to blow it in a followup.

Look, folks, if you're going to give completely wrong, untested answers to
elementary questions, could you at least send them via email instead of
posting them???
-- 
Dick Dunn     rcd at ico.isc.com -or- ico!rcd       Boulder, CO   (303)449-2870
   ...But is it art?



More information about the Comp.lang.c mailing list