discuss about input and output in c++
Answers
Answered by
1
Answer:
C++ Output
In C++, cout sends formatted output to standard output devices, such as the screen. We use the cout object along with the << operator for displaying output.
Example 1: String Output
#include <iostream>
using namespace std;
int main() {
// prints the string enclosed in double quotes
cout << "This is C++ Programming";
return 0;
}
Output
This is C++ Programming
Explanation:
Hope it works. please mark me as brainliest.. Thank you .
Similar questions