Ramblings of a techie
20 December 2010
Print % using printf in C
Problem:
How can you print % using the printf function? (Remember % is used as a format specifier!!!)
Very Simple, following cases are examples
Cheers!!
Jack
1 comment:
Unknown
said...
you can do this, too :
printf ("%c", '%');
March 29, 2013 at 7:04 AM
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
1 comment:
you can do this, too :
printf ("%c", '%');
Post a Comment