Q:

Write declarations for each of the following functions. When you write these declarations, use the name of the function to indicate what the function does

0

Write declarations for each of the following functions. When you write these declarations, use the name of the function to indicate what the function does.

(a) A function named compare that returns a bool and has two parameters that are references to a class named matrix. (b) A function named change_val that returns a vector<int> iterator and takes two parameters: One is an int and the other is an iterator for a vector<int>.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

(a)

 bool compare(const matrix &, const matrix &);

(b)

vector<int>::iterator &change_val(int, vector<int>::iterator &);

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now