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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In which layer of the network datastructure format change is done

1435


Can we change the value of static variable in c?

565


What is difference between class and structure?

571


Write a C program in Fibonacci series.

635


What are the 5 data types?

602






Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

1768


What are the features of c language?

621


Explain what is the difference between a free-standing and a hosted environment?

636


What are data structures in c and how to use them?

681


What is wrong with this program statement? void = 10;

822


What is a c token and types of c tokens?

592


What's the difference between constant char *p and char * constant p?

659


What are reserved words with a programming language?

604


What are the types of data types and explain?

673


What is c language and why we use it?

625