Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

how to write % but not using as a escape character

+2 votes
asked Sep 18, 2019 by Qăŝìm ÑăÈêm Xäňdĥu (140 points)

3 Answers

0 votes
answered Sep 20, 2019 by anonymous
directly we can write a%b it will not take as escape character
0 votes
answered Sep 20, 2019 by Raja Sekhar (260 points)
This can be done in many ways

ASCII value of % is 37 so printf("%c",37); is one way to print %
+1 vote
answered Sep 23, 2019 by Suhas Zany (160 points)
printf("%%");
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...