Writes to the output stream the contents of matrix m, one row at a time
What will be an ideal response?
```
ostream& operator<< ( ostream& os, const AdjacencyMatrix& m )
{
for (int i = 0; i < m.n; ++i) {
for (int j = 0; j < m.n; ++j)
cout << setw( 5 ) << m.mat[i][j];
cout << endl;
}
return os;
}
```
Computer Science & Information Technology
You might also like to view...
Which of the following is an asymmetric key algorithm?
A. DES B. AES C. RSA D. 3DES
Computer Science & Information Technology
MC The capability of a program to have several activities occur in parallel is called__________.
a) multitasking b) timesharing c) parallel computation d) None of the above
Computer Science & Information Technology