adplus-dvertising
frame-decoration

Question

Which of the following is a correct format for declaration of function?

a.

return-type function-name(argument type);

b.

return-type function-name(argument type) {}

c.

return-type (argument type)function-name;

d.

all of the mentioned

Posted under Functions C Programming

Answer: (a).return-type function-name(argument type);

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following is a correct format for declaration of function?