What is buffer in c programming language?

Buffer is a technique which reduces number of I/O call.

9 comments:

Anonymous said...

buffer is the place where we can read the character letter by letter than in disk...because the disk would take a longer time because for every character we need to access the disk,,,,,

Anonymous said...

agiL

Anonymous said...

buffer for storing data

Unknown said...

Buffer is data storing and this is a c.p. u reg.

Unknown said...

Nyc and thnku

Unknown said...

but what actually buffer do ? will you please elaborate it ?

Unknown said...

Buffer is used to store the data, If we store the data in buffer we can get the data easily, it mean it reduces the time to access the data.

Unknown said...

But can anybody explain about buffer briefly?

Asadullah Pranto said...

Temporary storage area is called buffer.

All standard input output devices are containing input output buffer.

In implementation when we are passing more than required number of values as a input then rest of all values will automatically holds in standard input buffer, this buffer data will automatically pass to next input functionality if it is exist.