Dear forum, I would like to declare The Function
void main_function(){ return NULL ;}
void function(int*){ return 0 ;}
int function(char[100]){ return char[0] ;}
Which one of these pass by more effectively the return away?
void functions can't return anything, so only the third one is a legal function..
Last edited on
Ok. Thanks. Yet they do return something, don't they?
Void functions can return void. Omit the 0 and you have a legit void-return.