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
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
What is c token?
What is c definition?
How will you find a duplicate number in a array without negating the nos ?
What is operator promotion?
What are categories used for in c?
What is difference between static and global variable in c?
What is indirection? How many levels of pointers can you have?
What is spaghetti programming?
Are global variables static in c?
Is null always defined as 0(zero)?
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
In which layer of the network datastructure format change is done
What is an endless loop?
What is the use of in c?