answersLogoWhite

0


Best Answer

Formatted input and output functions in programming languages allow for specific formatting options to be applied to the data being read from or written to the console. These functions enable the programmer to control the appearance of the data, such as specifying the number of decimal places when outputting a floating-point number. On the other hand, unformatted input and output functions simply read or write data without any specific formatting instructions, resulting in a more basic representation of the data on the console. The choice between formatted and unformatted functions depends on the desired level of control over the appearance of the data being processed.

User Avatar

ProfBot

βˆ™ 1mo ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

βˆ™ 14y ago

Formatted I/P functions: These functions allow us to supply the input in a fixed format and let us obtain the output in the specified form. Formatted output converts the internal binary representation of the data to ASCII characters which are written to the output file. Formatted input reads characters from the input file and converts them to internal form.

Format specifications

Data type

Integer

short signed

short unsigned

long signed

long unsigned

unsigned hexadecimal

unsigned octal

%d or %l

%u

%ld

%lu

%x

%o

Real

float

double

%f

%lf

Character

signed character

unsigned character

%c

%c

String

%s

Unformatted I/O functions: There are several standard library functions available under this category-those that can deal with a string of characters. Unformatted Input/Output is the most basic form of input/output. Unformatted input/output transfers the internal binary representation of the data directly between memory and the file

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Q2 Differentiate between formatted and unformatted you input and output functions?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Difference between formatted and unformatted function in c with example?

Disks and partitions should be formatted before usage.


Differentiate between bounded and un bounded functions in calculus?

If you mean differentiate as in calculate the derivative then it is the same both ways, otherwise Google solving improper integrals.


What is difrrence between paste and paste special?

Paste will just paste whatever you've copied. Paste Special in Wordpad has a few options to paste in different formats which are as a Wordpad document, Rich Text Format, a picture and unformatted text. It is much more limited in options compared to Paste Special in other applications.


Differentiate between general and specific reserve?

differentiate between general and specific reserve?


What is the relationship between trigonometry and differential calculus?

Just like most any other set of functions, trigonometric functions are subject to differentiation. Trig functions are cool (at least sin and cos are) because as you differentiate, they cycle through until you get back where you started.


Can you give some example sentences using the word 'differentiate'?

It's important to differentiate between right and wrong. She could not differentiate between the two identical twins. The new software features were designed to help differentiate their product from competitors. The expert could easily differentiate authentic artwork from fakes.


Differentiate between javascript and HTML?

Differentiate a pilot and a plane!


Differentiate between transparent bridge and spanning bridge?

Differentiate between a simple bridge and transparent bridge


Differentiate between physical assets from physical liabilities?

differentiate between physical assets from physical liabilities


Differentiate between Correcting spelling errors & Thesaurus?

Differentiate between Correcting spelling errors & Thesaurus?


The calculated capacity of a floppy disk is 1.47mb to hold down data while the capacity is 1.44mbthe difference is 0.03 mb explain that?

The difference in capacity vs. usable space on an 3.5 inch floppy disk is related to the FAT - file allocation table. This is an area that is reserved for machine and directory instructions. To explain what this means is that most disks are referred to their unformatted size. If you then create a 'protocol' format on the disk to support a particular operating system then this uses some of the space on the disk to do its housekeeping in. Therefore there will be a discrepency between the unformatted size and the formatted size. The same is true of hard drives which are quoted in their unformatted size, which is then reduced after formatting. The amount of space loss is congruent with the size of the disk. The larger the disk the more space is used to store the format.


The capicity to hold data in a floppy disk is 1.44MB while the calculated result is 1.47MB the difference is 0.3MB explain the difference?

The difference in capacity vs. usable space on an 3.5 inch floppy disk is related to the FAT - file allocation table. This is an area that is reserved for machine and directory instructions. To explain what this means is that most disks are referred to their unformatted size. If you then create a 'protocol' format on the disk to support a particular operating system then this uses some of the space on the disk to do its housekeeping in. Therefore there will be a discrepency between the unformatted size and the formatted size. The same is true of hard drives which are quoted in their unformatted size, which is then reduced after formatting. The amount of space loss is congruent with the size of the disk. The larger the disk the more space is used to store the format.