Memory/stackbust.c File Reference

Task to show code that crashes a C program. Provide code that exhausts all available memory by using infinite recursion. This will not likely crash your machine. More...


Functions

void f ()
int main (int argc, char **argv)

Variables

int n
 When recovering core file, this contains the number of times code executed.


Detailed Description

Task to show code that crashes a C program. Provide code that exhausts all available memory by using infinite recursion. This will not likely crash your machine.

Author:
George Heineman
Date:
6/15/08

Function Documentation

void f (  ) 

int main ( int  argc,
char **  argv 
)


Variable Documentation

int n

When recovering core file, this contains the number of times code executed.

Algorithm Development Kit 1.0