Saved Bookmarks
| 1. |
Consider the following code { cout<<“welcome to C++”; } After you compile this program there is an error called prototype error. Why it is happened? Explain |
|
Answer» Here we used the output operator cout<<. It is used to display a message “welcome to C++” to use this operator the corresponding header file must be included. We didn’t included the header file hence the error. |
|