Answer to Question #181424 in C++ for nabila

Question #181424

A function has different forms such as function call ,declaration, definition .in your opinion which form of function is called prototype and why?


1
Expert's answer
2021-04-15T02:09:05-0400

A function has different forms but according to my opinion the declaration of function is function prototype because it specifies about the return type,function name as well as the data types of the parameters that are passed to the function.

Syntax for function declaration

returntype function name(data type parameter1,data type parameter 2,......data type parameter n) 


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS