Commonly used input/out functions in C are:
* printf( )
* scanf( )
scanf() it is the standard input functions. It is used to get the data from the input devices, which is by default a keyboard, at run time, or execution time. Its general format is:
scanf("one or more format specifier",& one or more variables separated by comma);
For example:
scanf("%d",&a);
scanf("%d%,&a,&b);
printf() It is the standard output functions it is used to show the data to an output device, which is by default a monitor screen, at run time, or execution time. Its general format is:
In case of displaying the message:
printf("Type the message here");
for example:
printf("Hello World");
In case of printing the value:
printf("one or more format specifier", & one or more variables separated by comma);
for example:
scanf("%d",&a);
scanf("%d%f",&a,&b);
Virtually every function is an input output function. Functions that return a value are output functions and those that accept arguments are input functions. Non-constant arguments passed by reference can also be used for output. The only functions that are neither input or output functions are void functions that accept no arguments. These are really nothing more than procedures
Scanf("%type_of_input",&variable_name);
where type of input can be Integer and it's symbol will be %d
or Float and it's symbol is %f
or double %lf
printf("Hello World");
to print a message on the screen,
also you can use this code to print a stored value in a variable.
printf("Hello World number %variable_type",variable_name);
Functions_used_for_manipulation_of_file_pointers_are_as_follows:">Functions used for manipulation of file pointers are as follows:seekg():_Moves_get_pointer_(input)_to_a_specified_location.">seekg():Moves get pointer (input) to a specified location.seekp():_Moves_put_pointer_(output)_to_a_specified_location.">seekp():Moves put pointer (output) to a specified location.tellg():_Gives_the_current_position_of_the_get_pointer.">tellg():Gives the current position of the get pointer.tellp():_Gives_the_current_position_of_the_put_pointer.">tellp():Gives the current position of the put pointer.The seekg & tellg functions are associated with get pointer and seekp & tellp functions are associated with put pointer.
A keyboard is the most commonly used tool for entering text into digital devices.
No. That's a header file used for input and output.
The 89S52 has four different ports. Each one of the ports has eight input/output lines. The ports are used to output data.
stdio.h files are used in c ,because "stdio" stands for standard Input and Output files .these headers is connect i/o device to the compiler
stdio.h
the eyes can be used as the input device and the mouth as the output device
Typically this would be peripherals in the context of PCs. Peripherals are things such as the keyboard and mouse (input), and the monitor and speakers(output).
peripheral devices
SerDes, or Serializer/Deserializer, is most commonly used in high speed communications to compensate for limited input and output. They are blocks that convert data.
A modem can be used for sending (output) and/or receiving (input).
the input device get input from user.. output device display the result....
output cuz it got swag
A graphics tablet is used to to accept user input to the computer so is classed as input device ...
function composition
Variables and the ability to back backward. For example, 2+what=4 4-2=6
a CD is an output device that can be used as a storage or input device