Ask Question
20 May, 13:20

If the following statement were in a C+ + program, what would it do?

cout >> "I love oranges and apples";

+1
Answers (1)
  1. 20 May, 17:04
    0
    It will show compilation error like - no match for 'operator>>'

    Explanation:

    <> are input output stream operators which are used with different input output stream objects in C++. So <> operator is used to input or read some characters or integers from a file or console. Here input stream character is used with output stream object cout, which produces an error.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “If the following statement were in a C+ + program, what would it do? cout >> "I love oranges and apples"; ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers