What is the output of the following code?
```
#include
using namespace std;
int main()
{
int matrix[4][4] =
{{1, 2, 3, 4},
{4, 5, 6, 7},
{8, 9, 10, 11},
{12, 13, 14, 15}};
int sum = 0;
for (int i = 0; i < 4; i++)
cout << matrix[i][1] << " ";
return 0;
}
```
A. 3 6 10 14
B. 1 3 8 12
C. 1 2 3 4
D. 4 5 6 7
E. 2 5 9 13
E. 2 5 9 13
You might also like to view...
Consider whether it is appropriate to introduce the enhanced concepts of specialization/generalization, aggregation, and/or composition for the case studies described in Appendix B.
What will be an ideal response?
To determine whether a file was opened successfully, one can use the ___________ fstream member function
a. close( ) b. overloaded operator <<( ) c. open( ) d. eof( ) e. flush( )
The first step in submitting your web site to search engines is to
a. join an affiliate program b. visit the search engine and submit your web site c. prepare your pages for search engines by adding keyword and description meta tags to your pages d. none of the above
A blog that is setup for users of handheld computers or smartphones is referred to as a(n) ________
Fill in the blank(s) with correct word