Examveda

Which of the following function declaration is illegal?

A.

double func();
int main(){}
double func(){}

B.

double func(){};
int main(){}

C.

int main()
{
    double func();
}
double func(){//statements}

D. None of the mentioned

Answer: Option D


This Question Belongs to C Program >> Function

Join The Discussion

Related Questions on Function