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
March 29, 2013 at 7:04 AM
you can do this, too :
printf ("%c", '%');
Reply
Delete
Replies
Reply
Add comment
Load more...
‹
›
Home
View web version
you can do this, too :
ReplyDeleteprintf ("%c", '%');