A very generall question. I work on C, and sometimes when i use recursive algorithms, there are cases when i want to set the "return value" only in "if". And i dont have 'external' return, some compilers dont like it, like in the environment of CodeBlocks it defines it as compiling error, and for example in microsoft visual studio it doesnt. And i dont want to mess with my code, so ill have an external return, because in complicated algorithms it could be difficult, but i know in my case, that it is working for all the exmaples i need.
So, as i understand in educational programms it wouldnt be a problem for most cases (correct me if i wrong - i mean if i know what i do in my algorithm and for which input it works) it souldnt be a problem, but generally, as i understand, if I write a code without 'extern' return, i could have problems, if in some cases, which i didnt thouht about them, it wouldnt return any value or will return junk, am I right ?
Could somebody give me another information about that?