On 12 Mar 2007 03:07:48 -0700, Amila Perera <[EMAIL PROTECTED]> wrote: > C allows to call the main in functions.
That's right. > This has been tested by me under Dev C++ and it works properly. It is, however, not allowed under C++. > Is this not a bug? Only if the programmer didn't intend it. > Will this give rise to a memory overflow as in the case of a recursive > function? This is a problem that may exist with any function called recursively. > Is this fact contradictory with respect to structured programming. No. -- PJH Aio, quantitas magna frumentorum est
