The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

4 years ago
C Programming

You can do this by using %% in the printf statement. For example, you can write printf("10%%") to have the output appear as 10% on the screen.

0
Sanisha Maharjan
Jan 20, 2022
More related questions

Questions Bank

View all Questions