Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Absolute C++
Quiz 5: Arrays
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Question 21
Short Answer
What is the output of the following code? #include<iostream> int main() { using namespace std; double a[3] = {1.1,3.3,2.2}; cout << a[0] << " " << a[1] << " " << a[2] << endl; a[1] = a[2]; cout << a[0] << " " << a[1] << " " << a[2] << endl; }