how to escape the special character %

hi all,

i have to display a string which is similar to " Total aggregate is 75% ".

please let me know how to escape the % character.

Thank you
Use %%
printf("Total aggregate is 75%%");
Last edited on
Topic archived. No new replies allowed.