Declarations and definitions in C
Guys what is the difference between declarations and definitions of varibles,functions, structures?
are examples of declarations and int c=4; is an initilisation but how does variable definition differ?
Same with structures
//is the structure declaration.What is the definition of a structure.
int sum2digits(int a,int b); //the prototype
what are the definitions and declarations.
int sum2digits(int a, int b) //what is this line called?