[Ilugc] C pgm - Recursive -segmentation fault

  • From: karthick.sundararajan@xxxxxxxxx (karthick.sundararajan@xxxxxxxxx)
  • Date: Mon Sep 13 17:59:24 2004


Small correction Toufeeq. It must be while(1). I think it was an
oversight.

(c)-----Original Message-----
(c)From: ilugc-bounces@xxxxxxxxxxxxx
(c)[mailto:ilugc-bounces@xxxxxxxxxxxxx] On Behalf Of Toufeeq Hussain
(c)Sent: Monday, September 13, 2004 17:42
(c)To: Gopalarathnam V.
(c)Cc: ilugc@xxxxxxxxxxxxxxxxxx
(c)Subject: RE: [Ilugc] C pgm - Recursive -segmentation fault
(c)
(c)
(c)->> I write a recursive program .what's the point in writing a
(c)recursive
(c)->> function if it is going to exit abruptly.
(c)->>
(c)->> Now the question arises how to clear this stack etc etc ????
(c)
(c)use a while loop.
(c)like:
(c)while(0)
(c){
(c)     blah...
(c)     blah...
(c)}
(c)
(c)or a for(;;)
(c){
(c)     blah...
(c)     blah...
(c)}
(c)
(c)HTH,
(c)Toufeeq
(c)_______________________________________________
(c)To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with
(c)"unsubscribe <password> address"
(c)in the subject or body of the message. 
(c)http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
(c)


Confidentiality Notice

The information contained in this electronic message and any attachments to 
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or 
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or 
Mailadmin@xxxxxxxxx immediately
and destroy all copies of this message and any attachments.

Other related posts: