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 will you print TATA alone from TATA POWER using string copy and concate commands in C?
What is the difference between text files and binary files?
How many main () function we can have in a project?
What are examples of structures?
What are the disadvantages of a shell structure?
What is the maximum length of an identifier?
What is static function in c?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
while initialization of array why we use a[][2] why not a[2][]...?
What is return in c programming?
How many bytes is a struct in c?
When is a “switch” statement preferable over an “if” statement?
What are comments and how do you insert it in a C program?
Which function in C can be used to append a string to another string?
Explain output of printf("Hello World"-'A'+'B'); ?