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 |
What is main return c?
What is the meaning of ?
What is the scope of global variable in c?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
main() { int *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }
Why the use of alloca() is discouraged?
Can static variables be declared in a header file?
write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.
1 Answers 91mobiles, Amazon, App Guruz, College School Exams Tests, Folio3, Infosys, Omega, Planin, Riphah International University, Subex,
How to find a missed value, if you want to store 100 values in a 99 sized array?
What are the properties of union in c?
6)What would be the output? main() { int u=1,v=3; pf("%d%d",u,v); funct1(&u,&v); pf("%d%d\n",u,v); } void funct1(int *pu, int *pv) { *pu=0; *pv=0; return; } a)1 3 1 3 b)1 3 1 1 c)1 3 0 0 d)1 1 1 1 e) 3 1 3 1
what is printf