Hello!
Why shouldn't I implement a return-value f. ex. "return(0)" into a void function?
I heard this once in terms of tidy programming.
f. i.:
void writeString(char *str)
{
printf("%s",str);
// return(0); ?????? I shouldn't! Why?
}
Yours
Jürgen
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.