Computer Science, asked by ankitvishwakarma3788, 1 month ago

c++ used input & output statement​

Answers

Answered by pari9054
5

Input Stream: If the direction of flow of bytes is from the device(for example, Keyboard) to the main memory then this process is called input. 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.

How do you write output in C++?

Ans-We first include the iostream header file that allows us to display output. The cout object is defined inside the std namespace. To use the std namespace, we used the using namespace std; statement. Every C++ program starts with the main() function.

hence it is a input statement

Similar questions