[Ilugc] C pgm - Recursive -segmentation fault

  • From: Toufeeq_Hussain@xxxxxxxxxxx (Toufeeq Hussain)
  • Date: Mon Sep 13 17:54:16 2004

->> I write a recursive program .what's the point in writing a recursive
->> function if it is going to exit abruptly.
->> 
->> Now the question arises how to clear this stack etc etc ???? 

use a while loop.
like:
while(0)
{
        blah...
        blah...
}

or a for(;;)
{
        blah...
        blah...
}

HTH,
Toufeeq

Other related posts: