Define input stream and output stream hierarchy. In c++
Answers
Answered by
0
Answer:
In C++ input and output is performed in the form of sequence of bytes or more commonly known as streams. ... Output Stream: If the direction of flow of bytes is opposite, i.e. from main memory to device( display screen ) then this process is called output.
Explanation:
Answered by
0
ɪɴᴘᴜᴛ sᴛʀᴇᴀᴍ: ɪғ ᴛʜᴇ ᴅɪʀᴇᴄᴛɪᴏɴ ᴏғ ғʟᴏᴡ ᴏғ ʙʏᴛᴇs ɪs ғʀᴏᴍ ᴛʜᴇ ᴅᴇᴠɪᴄᴇ(ғᴏʀ ᴇxᴀᴍᴘʟᴇ, ᴋᴇʏʙᴏᴀʀᴅ) ᴛᴏ ᴛʜᴇ ᴍᴀɪɴ ᴍᴇᴍᴏʀʏ ᴛʜᴇɴ ᴛʜɪs ᴘʀᴏᴄᴇss ɪs ᴄᴀʟʟᴇᴅ ɪɴᴘᴜᴛ. ᴏᴜᴛᴘᴜᴛ sᴛʀᴇᴀᴍ: ɪғ ᴛʜᴇ ᴅɪʀᴇᴄᴛɪᴏɴ ᴏғ ғʟᴏᴡ ᴏғ ʙʏᴛᴇs ɪs ᴏᴘᴘᴏsɪᴛᴇ, ɪ.ᴇ. ғʀᴏᴍ ᴍᴀɪɴ ᴍᴇᴍᴏʀʏ ᴛᴏ ᴅᴇᴠɪᴄᴇ( ᴅɪsᴘʟᴀʏ sᴄʀᴇᴇɴ ) ᴛʜᴇɴ ᴛʜɪs ᴘʀᴏᴄᴇss ɪs ᴄᴀʟʟᴇᴅ ᴏᴜᴛᴘᴜᴛ.
◇‿◇
Similar questions