---
title: "What is stream I/O in c  ?"  
description: "What is stream I/O in c  ?"  
author: "Anonymous User"  
published: 2013-06-15  
updated: 2013-06-15  
canonical: https://www.mindstick.com/forum/1123/what-is-stream-i-o-in-c  
category: "visual c++"  
tags: ["visual c++"]  
reading_time: 1 minute  

---

# What is stream I/O in c  ?

Hi,\
What is [stream](https://yourviews.mindstick.com/view/88509/us-intercepts-iranian-tanker-m-t-stream-amid-hormuz-tensions) I/O in [c++](https://www.mindstick.com/blog/745/array-in-c-plus-plus)?\
Thanks in advance.

## Replies

### Reply by AVADHESH PATEL

The c++ I/O system,like the c I/O system,operates through streams.A stream is a logical device that either produces or consumes information.A stream is linked to a physical device by the c++ I/O system.All streams behave in same manner ,even if the actual physical devices they are linked to differ.Because all the streams acts the same,the I/O system presents the programmer with a consistent interface,even through it operates on devices with differing capabilities.When a c++ program begins execution,three predefined streams are autometically opend:stdin,stdout,and stderr.


---

Original Source: https://www.mindstick.com/forum/1123/what-is-stream-i-o-in-c

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
