What is the purpose of Scanf Print, getchar, putchar,
function?

Answers were Sorted based on User's Feedback



What is the purpose of Scanf Print, getchar, putchar, function?..

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

What is the purpose of Scanf Print, getchar, putchar, function?..

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

What is the purpose of Scanf Print, getchar, putchar, function?..

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

Post New Answer

More C Interview Questions

what is dangling pointer?

1 Answers   LG Soft,


What is function in c with example?

0 Answers  


Why we use void main in c?

0 Answers  


What are the usage of pointer in c?

0 Answers  


21. #define square(x) x*x main() { int i; i = 64/square(4); printf("%d",i); }

3 Answers  






design and implement a program that reads floating-points numbers in a sentinel-controlled loop until the user terminates the program by entering zero.your program should determinate and print the smallest,largest and average of the supplied numbers.

2 Answers  


who will call your main function in c under linux?

2 Answers  


What is static and volatile in c?

0 Answers  


Can anyone help me with this please? Need to print the below values.. Thanks 1 1 2 1 2 3 1 2 3 4

3 Answers  


what are the general concepts of c and c++

2 Answers  


Given an unsigned integer, find if the number is power of 2?

5 Answers  


Where are c variables stored in memory?

0 Answers  


Categories