BEGINNING WITH C – INPUT-OUTPUT IN C LANGUAGE

BEGINNING WITH C LANGUAGE

BEGINNING WITH C

Generally, every C program follows three main functions i.e. takes DATA as INPUT, PROCESSES DATA and gives OUTPUT. Thus, for BEGINNING WITH C, we must have the proper knowledge of all these three functions.

First of all, the Input operation involves movement of data from the respective input devices to computer memory. While, the Output operation is exactly opposite of the input operation i.e. The data moves from the computer memory to the output device.

BEGINNING WITH C – INPUT-OUTPUT FUNCTIONS IN C LANGUAGE

Most noteworthy, C Language provides no facility regarding input-output operations. Thus, the input and output is done with the help of a set of Library functions. And, these library functions are provided with every C compiler. Furthermore, these functions are formally not a part of the C Language. But, we consider these functions standard for all Input-Output operations in C Language.

Therefore, the one who is beginning with C Language.. Should have the proper and detailed knowledge about the input-output functions. Hence, following are the input and output functions in C Language.

INPUT FUNCTIONS –

  • scanf()
  • getchar()
  • getch() …etc.

OUTPUT FUNCTIONS –

  • printf()
  • putchar()
  • putch() …etc.

BEGINNING WITH C – CONVERSION SPECIFICATIONS

Now, before discussing each and every input and output Function.. We will be studying about the Conversion specifications. Generally, the functions printf() and scanf() utilise the conversion specifications for specifying the type and size of the data.

Certainly, each and every conversion specification should begin with a percentile sign[ % ]. Also, following are some of the conversion specification below :

Conversion specifications - BEGINNING WITH C Language
http://theburningmonk.com/

Generally, there is a High-level implementation of Conversion specifications in C programming. Why!? So as to work with various DATA TYPES. Furthermore, conversion specifiers defines the type of data that prints on the output screen.

Leave a comment

Your email address will not be published. Required fields are marked *