answersLogoWhite

0

How do you print percent sign in c?

Updated: 4/28/2022
User Avatar

Wiki User

13y ago

Best Answer

putc('%');

write(1, "%", 1);

printf("%%");

printf("%c", '%');

will all each put a % character (percent sign) on stdout.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you print percent sign in c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you print double quote sign in c?

putchar ('"'); puts ("""); etc


The special character string that is used to print the diameter sign is?

%%c %%D %%DIA c%%


How will you print percent in c language?

putchar ('%'); puts ("%"); printf ("%%"); etc...


When you have power of attoreny how do you actually sign person's name along with your name?

You sign and print their name then you sign and print next to it as POA.


How is the percent sign read?

Percent sign (%) is read as percent.


What is the sign for percent?

% This is the sign for a percent. Shift+5


What is the use of print option in c plus plus?

C++ has no print option. The print option in your IDE allows you to print your C++ source code, thus giving you a "hard" copy of your code.


What does a percentage mark mean in an address?

The sign is not a percent sign but a c/o sign that means "in care of". This is used as a temporary mailing address as when someone wants to receive mail "in care of" (c/o) someone else's adress. Example: John Doe, c/o Jack Sprat, 1000 Anystreet, Anystate ZIP


Where is it best to sign print?

I have found the best way to sign print would be is to go online go to printing company's. Yes the best way to get sign print on your website would is to go on as a affiliate which many company's are just waiting for you to join.


What is the difference of C percent and F percent?

(C - F) percent.


What is a Type c photograph?

A C-print or Type C-print is a color print from a color negative. The term "Type C" is generally used to distinguish from R or Reversal prints or direct positive prints from transparencies (color positives). Type C prints can also be made digitally. Type C is probably the most common form of color print.


What is The preceding a formula is an important part of the formula because it alerts Excel that a formula or function is being entered and not text.?

Equal sign