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

In C, What is the #line used for?

2 Answers  


Why main is not a keyword in c?

0 Answers  


Find greatest of two numbers using macro

4 Answers   Bosch, Siemens,


When you call malloc() to allocate memory for a local pointer, do you have to explicitly free() it?

2 Answers   Aloha Technology,


Why is c used in embedded systems?

0 Answers  






What is typedef example?

0 Answers  


give an example of type casting by a simple c program

2 Answers   TCS,


What is typeof in c?

0 Answers  


What are bitwise shift operators in c programming?

0 Answers  


What is volatile variable in c?

0 Answers  


wat is the output #define VOLEDEMORT _who_must_not_be_named int main() { printf("VOLEDEMORT"); }

2 Answers  


find largest of 3 no

8 Answers  


Categories