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

Expired
Total Proposals: 9
1 Current viewersl
10 Total views
Project posted by:

Proposals

Proposals Reputation Price offered
  • 4.5
    355 Jobs 236 Reviews
    $0 in 0 Day
  • 3.8
    30 Jobs 19 Reviews
    $0 in 0 Day
  • 4.9
    17 Jobs 7 Reviews
    $0 in 0 Day
  • 4.9
    7 Jobs 7 Reviews
    $0 in 0 Day
  • 5.0
    13 Jobs 7 Reviews
    $0 in 0 Day
  • 4.7
    74 Jobs 28 Reviews
    $0 in 0 Day