InterviewSolution
Saved Bookmarks
| 1. |
Describe I/O operator. |
|
Answer» 1. Input Operator: The statement cin>> num; is an input statement and causes the program to wait for the user to type in a number. The operator >>is known as extraction or get from the operator. It takes the value from the keyboard and assigns it to the variable on its right. 2. Output Operator: The statement cout<< “ the numbers”; uses the cout identifier that represents the standard output stream ( screen) in C++. The operator < – Sounds incomplete -Author. |
|