answersLogoWhite

0

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);

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Engineering

Functions used for manipulation of file pointer?

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.


Is a diode a input or out put process?

A diode is primarily considered a component used in electronic circuits rather than an input or output process. It allows current to flow in one direction while blocking it in the opposite direction, effectively controlling the flow of electrical signals. Therefore, it functions as a part of the circuit that can influence input and output but is not classified strictly as either.


Where conioh is used?

Conioh is a library used in C programming for console input and output, particularly for manipulating the console screen in a text-based environment. It provides functions for handling keyboard input, text color, and screen positioning, making it useful for creating interactive command-line applications. Commonly, it's utilized in educational settings or simple games to enhance user experience in the console.


What is voltage buffer?

A voltage buffer, also known as a voltage follower, is an electronic circuit that provides high input impedance and low output impedance, effectively isolating the input from the output. It is commonly implemented using operational amplifiers (op-amps) configured in a specific way where the output directly connects to the inverting input, while the non-inverting input receives the input signal. This configuration allows the buffer to maintain the same voltage level at the output as at the input, while preventing the input source from being loaded down. Voltage buffers are often used in signal processing to prevent distortion and to drive heavy loads.


What is the operation of a antilogarithmic amplifier?

An antilogarithmic amplifier, or antilog amplifier, is a type of electronic circuit that performs the inverse operation of a logarithmic amplifier. It takes a logarithmic input signal and produces an output that is proportional to the exponent of that input. This is typically achieved using a transistor or operational amplifier configured to respond to the input voltage in a way that generates an output current or voltage exponential to the input. These amplifiers are commonly used in applications requiring signal processing in fields like telecommunications and instrumentation.

Related Questions

Which header files contain declaration for the files input and output functions and the macros defined and that are used with file input and output functions?

stdio.h


What parts of the human functions as a computer's input and output devices?

the eyes can be used as the input device and the mouth as the output device


Used to accomplish input and output functions?

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).


Additional components called are used to accomplish input and output functions?

peripheral devices


Is x a output or input in math?

In mathematics, "x" can represent either an input or an output, depending on the context. In functions, "x" is typically the input value, while the function's result, often denoted as f(x), represents the output. In equations, "x" can also be the output when solving for its value. Thus, its role varies based on how it is used.


What is the definition of output distance?

Output distance refers to the measurement of the distance between the output of a system or process and a desired or target output. It is commonly used in engineering and mathematics to quantify the accuracy or efficiency of a system in producing the desired results. Output distance can be calculated using various metrics such as Euclidean distance, Manhattan distance, or other distance functions depending on the context of the problem.


Why is modem classified as input or output?

A modem can be used for sending (output) and/or receiving (input).


What exactly are SerDes commonly used for?

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.


Is a buzzer an input or output device?

output cuz it got swag


Is a graphics tablet an input or output?

A graphics tablet is used to to accept user input to the computer so is classed as input device ...


What components are used to accomplish input and output functions?

Variables and the ability to back backward. For example, 2+what=4 4-2=6


What term is used to describe when two functions are linked together by using output of the first function as input of second function?

function composition