Computer Science, asked by ishtyak1274, 1 year ago

Difference between function declaration and function definition in c programming

Answers

Answered by singhmahesh140
0
A declaration like : int max (int a, int b); ... The declaration just says the compiler which type of data the function max returns and also the type of each parameter. The name of the parameters has not to agree with the function definition that we will study later.
Answered by simpleshitu
0

Answer:A declaration like : int max (int a, int b); ... The declaration just says the compiler which type of data the function max returns and also the type of each parameter. The name of the parameters has not to agree with the function definition that we will study later.

Explanation:

Similar questions