What is the purpose of Scanf Print, getchar, putchar,
function?
Answers were Sorted based on User's Feedback
Answer / vignesh1988i
scanf() is used to get the input from the user using the compailer.
printf() is used to output the messages given by the user in the output screen
getchar() is used to get a single character from the user.....
putchar() is used to output a single character and echo's in the output screen
| Is This Answer Correct ? | 94 Yes | 7 No |
Answer / bhushan deshmukh
C language is procedural language. It contain's system
function for I/O, These function useing in Input and
Output....
1. Scanf :- function using for formated input.. with
showing some formated output message...
2. Printf :- Function using for display formated output on
console...
3. Getchar() :- using for Get a only one character at one
time...
4. Putchar() :- Using for a single character without
formated...
| Is This Answer Correct ? | 40 Yes | 6 No |
Answer / kumutha
sacnf()- input data can be entered into the computer using
the standard input'c' library function........
printf()- output data or result of an operation can be
displayed from the computer to a standard output device
using the library function........
getchar()- single character can be given to the computer
using 'c' input library function........
putchar()- used to display one character at a time on the
standard output device.........
| Is This Answer Correct ? | 29 Yes | 3 No |
implement NAND gate logic in C code without using any bitwise operatior.
What is a nested loop?
Identify the correct argument for the function call fflush () in ANSI C: A)stdout B)stdin C)stderr D)All the above
What are the different data types in C?
Is fortran still used today?
What is difference between structure and union in c?
The C language terminator is a.semicolon b.colon c.period d.exclamation mark
How would you rename a function in C?
What is false about the following A compound statement is a.A set of simple statments b.Demarcated on either side by curly brackets c.Can be used in place of simple statement d.A C function is not a compound statement.
What is time null in c?
int zap(int n) { if(n<=1)then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap [a] 8 [b] 9 [c] 6 [d] 12 [e] 15
What is the difference between fread buffer() and fwrite buffer()?