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 |
Why do u use # before include in a C Progam?
Write a program to reverse a string.
0 Answers Global Logic, iNautix, TCS, Wipro,
Write a program that can show the multiplication table.
main() { int i = -3,j=2,k=0,m; m= ++i || ++j && ++k; printf("%d%d%d",i,j,k,m); }
how many header file is in C language ?
44 Answers College School Exams Tests, CTS, IBM, IMS, Infosys, ME, Sign Solutions, Wipro, XVT,
#include <stdio.h> void main() { int i=-1,j=1,k,l; k=!i&&j; l=!i||j; printf ("%d%d",k,l) ; }
what is the maximum no. of bytes calloc can allocate
why division operator not work in case of float constant?
main() { int x=5,y=10,z=0; x=x++ + y++; y=y++ + ++x; z=x++ + ++y; printf("%d%d%d\n",x,y,z); }
What are the difference between a free-standing and a hosted environment?
helllo sir give me some information of the basic information the c as printf ,scanf , %d ,%f and why is the main use of these.
Can a variable be both constant and volatile?