D
Douglas
Hi,
When and why would you want to...
1)
//=============================
int main(){
int someFunction(void);//declaration
someFunction();
}
int someFunction(void){} //definition
//===============================
instead of.....
2)
//==============================
int someFunction(void); //declaration
int main(){
someFunction(void);
}
int someFunction(void){} //prototype
//================================
Thanks, Douglas
When and why would you want to...
1)
//=============================
int main(){
int someFunction(void);//declaration
someFunction();
}
int someFunction(void){} //definition
//===============================
instead of.....
2)
//==============================
int someFunction(void); //declaration
int main(){
someFunction(void);
}
int someFunction(void){} //prototype
//================================
Thanks, Douglas