Given the following declarations, determine which calls are legal and which are illegal. For those that are illegal, explain why.
double calc(double);int count(const string &, char);int sum(vector::iterator, vector ::iterator, int);vector vec(10);
(a) calc(23.4, 55.1);
(b) count(“abcda”, ‘a’);
(c) calc(66);
(d) sum(vec.begin(), vec.end(), 3.8);
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.