what is difference between getchar,putchar functions and
printf and scanf function? does putchar show output only
when input given to it
Answer Posted / akash kumar
getchar() reads one character from the "standard input",which is usually the user's keyboard. the syntax of the getchar() function is written as: character variable=getchar(). putchar() read's one character from the " standard output", which is usually the user's keyboard. the syntax of the putchar() function is written as : putchar ( character variable ). printf print the text , scanf reads the input .....
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
How do you construct an increment statement or decrement statement in C?
What should malloc() do?
When c language was developed?
what is the difference between 123 and 0123 in c?
Why is it important to memset a variable, immediately after allocating memory to it ?
Why c language is called c?
Tell us bitwise shift operators?
Why is %d used in c?
How old is c programming language?
Explain the bubble sort algorithm.
How can I discover how many arguments a function was actually called with?
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b
Is there a built-in function in C that can be used for sorting data?
Write a program to print fibonacci series without using recursion?
What is the use of getchar functions?