answersLogoWhite

0

All three functions output a single character, either to the console or to a FILE. putc() takes a character argument, and outputs it to the specified FILE. fputc() does exactly the same thing, and differs from putc() in implementation only. Most people use fputc(). putchar() writes the character to the console, and is the same as calling putc(c, stdout). puts() is a multicharacter function and putchar() is single character function

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

How do you display strings?

C: puts, printf, fputs, fprintf, write, fwrite...


Is there equality and justice in our society?

There is still Caste System (social classes) in India and it puts differences between the people.


Write a c program to display hello on the monitor without using printf?

You can choose from puts, fputs, fwrite, write (or even putchar, putc, fputc). I hope this will help you to start.


Is there equality and justice in India?

There is still Caste System (social classes) in India and it puts differences between the people.


A C program to store students record in a file?

#include<stdio.h> void main() { FILE *fp; char name[20],ch; char *roll; fp=fopen("specifies file path","w"); if(fp!=NULL) { do{ printf("input roll_no"); gets(roll); printf("\ninput student name"); gets(name); fputs(roll,fp); fputs("\t",fp); fputs(name,fp); fputs("\n",fp); printf("you want to continue y/n"); ch=getch(); }while(ch=='y'); } }


What are differences between tape and staples?

Tape sticks things together, and staples puts two itty-bity hole in the paper and a metal staple closes and folds


How can we write our name in C programming language without using printf?

You can use fputs() instead of printf().


What are the differences between a Proposer and an Insurer?

A proposer puts something forth for consideration, discussion, or adoption.An insurer is a person or company that underwrites insurance risk. They are the party that pays the compensation in an insurance contract.


Write a program in c language to print some message on the screen with out using printf?

you can put the printf function inside a if() so that you need not use semicolons. for eg to print my name, if(printf("My Name is Maheedharan")) {} this will work. try this out...


What are the main differences between Scan and copy?

When you scan a document it puts a copy into the computer attached to the scanner or the memory of the scanner. But copying is a one time shot and you can not retrieve a copy of what you put through again.


What is the name for an agreement between countries that often puts an end to a dispute?

what is the name for an agreement between countries that often puts an end to a dispute


How can you print any statement without using semi column in c programming language?

I know this can be done or your teacher would not have given this question as homework. The truth is I do not have a clue how to do this because in the real world it is not necessary to know or be able to do this. Ask your teacher or read your text book.