The document discusses input-output instructions in the C programming language. It defines input instructions as those that handle keyboard input from the user, like scanf() and getch(), and output instructions as those that print to the monitor, like printf(). It provides details on the syntax and use of the printf(), scanf(), and getch() functions for output and input in C. It encourages the reader to subscribe to the author's YouTube channel and follow their Facebook page for more information on C programming input and output.
4. Input-Output Instructions in C Language
âť‘Any Instruction that handle the screen(Monitor), or any Instruction that
is used to print something on output screen is called Output
Instruction.
âť‘Output Instruction is a statement in our program written by user, when
it run than a message print on monitor, that instruction is called as
Output Instruction .
âť‘Any Instruction that handle the Keyboard, or an Instruction that is used
to input some information by the user is called as Input Instruction.
5. Input-Output Instructions in C Language
âť‘printf() is a predefined function.
âť‘printf() is not a keyword.
âť‘ Printf() is a Output Instruction in C Programming.
âť‘The printf() function is used for output. It prints the given statement to the
console.
âť‘printf() prints two types of message on console screen(output screen).
➢ Print text as we written.
➢ Print value of expression or value of variable
6. Input-Output Instructions in C Language
âť‘The syntax of printf() function is given below:
âś“ The format string can be %d (integer), %c (character), %s (string),
%f (float) etc.
7. Input-Output Instructions in C Language
âť‘scanf() is a predefined function.
âť‘scanf() is not a keyword.
âť‘scanf() is an Input Instructions.
âť‘The scanf() function is used to take inputs from user on console(output screen).
âť‘The syntax of scanf() function is given below:
âś“ The format string can be %d (integer), %c (character), %s (string),
%f (float) etc.
8. Input-Output Instructions in C Language
âť‘getch() is a predefined function.
âť‘getch() is not a keyword.
âť‘getch() is an Input Instruction.
âť‘The getch() function is used to take inputs from user on console(output screen).
âť‘The syntax of scanf() function is given below:
âś“ The format string can be %d (integer), %c (character), %s (string),
%f (float) etc.
9. Thank You
➢ For Detailed understanding,
Subscribe our channel on
You tube.
➢ Follow us on Facebook
âś“ Page name : Digital Wave (
Link in Description Box)