Which of following function declaration is illegal?

Which of the following function declaration is illegal?

Which of the following function declaration is illegal? mcq and its answer is provided on this page.

Which of the following function declaration is illegal?

Que. Which of the following function declaration is illegal?
a. a)
b. Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!
c. double func();
d. int main(){}
e. double func(){}
f. b)
g. Check this: Computer Science MCQs | Advanced C Programming Videos
h. double func(){};
d. int main(){}
j. c)
k. int main()
l. {
c. double func();
n. }
o. double func(){//statements}
p. d) None of the mentioned
Answer: d
Explanation : None.


Comments