adspace


What are the differences between the function prototype and the function defi-nition?

Answer Posted / Sanjay Sharma

A function prototype declares the function's name, return type, parameters (if any), and argument types. It is declared before the function definition in the code. The function definition provides the implementation of the function, including the function body and logic. It should follow the prototype.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can union be self referenced?

1265


What character terminates all character array strings a) b) . c) END

1394


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

1164


daily Routine of father

1483


What is the latest version on c++?

1205