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 the diference between pointer to the function and function to the pointer?

2 Answers   Infosys,


Why use int main instead of void main?

0 Answers  


how can i print "hello"

3 Answers  


while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

0 Answers  


wat is the meaning of c?

9 Answers   CTS, IBM, Wipro,






Do you know what is a programing language ?

0 Answers  


Do you know the use of 'auto' keyword?

0 Answers  


What is #ifdef ? What is its application?

0 Answers   TCS,


write an algorithm to display a square matrix.

0 Answers  


What are the types of c language?

0 Answers  


what is difference between array of characters and string

18 Answers   Accenture, Nest,


hi send me sample aptitude papers of cts?

0 Answers  


Categories