Declaration: Telling them that a function exists
int myfunc(int x);
Definition: Telling them that a function exists AND what it does
int myfunc(int x){
return x*2;
}
Declaration: Telling them that a function exists
int myfunc(int x);
Definition: Telling them that a function exists AND what it does
int myfunc(int x){
return x*2;
}