given the following declarations, determine which calls are legal and which are illegal. for those that are illegal, explain why.

Project Description:

double calc(double);
int count(const string &, char);
int sum(vector_int_::iterator,
vector_int_::iterator, int);
vector_int_ vec(10);
(a) calc(23.4, 55.1);
(b) count("abcda", 'a');
(c) calc(66);
(d) sum(vec.begin(), vec.end(), 3.8);
Skills Required:
Project Stats:

Price Type: Negotiable

Total Proposals: 2
1 Current viewersl
32 Total views
Project posted by:


Proposals Reputation Price offered