Specification You are required to submit a single C source file, named mymalloc.c, which contains three functions: void myinit(int * array, int size) This function will be called exactly once, before any calls to mymalloc() or myfree(). It will be passed a pointer to the start of an int array of extent size. All blocks returned by mymalloc() must lie entirely within this array. int * mymalloc(int size) size will be non-negative. This function returns a pointer to the start of an int array of extent size, drawn from an unallocated free region of the array passed into myinit() . If insufficient unallocated space remains, the function should return (int *)0. void myfree(int * block) This function will be passed one of the non-null pointers returned by mymalloc(). The corresponding block should be returned to the free region. In addition, your source file is permitted to declare discrete variables (static or automatic), structures and types but not arrays of any sort. You may define additional "static" functions in your source file, but your code is not permitted to call any other functions, nor to #include any header files, nor to contaminate the global namespace with additional function or variable names.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
## Platform
environment c
## Deadline information
must be completed by 12/05/2002 if a coder can completed by 12/04/2002 will get a extra $10 code will be tested by the file which is attached