answersLogoWhite

0


Best Answer

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

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

Functions are :

getchar(), putchar(), scanf(), printf(), gets() & puts()

functions can be accessed within a program by including the header file stdio.h.

Regards,

dheeraj

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

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

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

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

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

the commonly used inputout functions in c are;printf and scanf.

They are accessed in stdio library

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

check

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the commonly used input output functions in C?
Write your answer...
Submit
Still have questions?
magnify glass
imp
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


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.


Why is modem classified as input or output?

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


Why are storage devices are output and input?

the input device get input from user.. output device display the result....


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


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


CD-R input or output device?

a CD is an output device that can be used as a storage or input device