I am in the middle of a void function and would like to exit the function prematurely. How may I do so?
Printable View
I am in the middle of a void function and would like to exit the function prematurely. How may I do so?
Code:void nuthin(int i){
if (i==0) return; // early exit
if(i>) printf("%d",i);
return;
}