what is difference between getchar,putchar functions and
printf and scanf function? does putchar show output only
when input given to it

Answer Posted / jeevi

getchar is used to get only one character.. putchar is used
to print only one character.
printf can print more than one character,we can get more
than one variable by using scanf.

Is This Answer Correct ?    47 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 32 keywords in c?

650


What is the best way of making my program efficient?

581


Explain how can you be sure that a program follows the ansi c standard?

878


If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.

1802


Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record

4760






Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.

736


What is a spanning Tree?

975


Differentiate between full, complete & perfect binary trees.

686


Write a program for finding factorial of a number.

644


Is there any possibility to create customized header file with c programming language?

639


How can I trap or ignore keyboard interrupts like control-c?

631


What kind of structure is a house?

570


What is scanf_s in c?

644


How many loops are there in c?

600


Where can I get an ansi-compatible lint?

656