#include <stdlib.h>

#ifdef DEBUG
#include "mylib.h"
#define malloc mymalloc
#define free myfree
#endif

#include <stdio.h>

int main()
{
   int *i = malloc(sizeof(int));

   *i = 20;

#ifdef DEBUG
   puts("WOOHOoo .. in debug!!");
#endif


   printf("i = %d at address = %p\n", *i, i);

   free(i);

   return 0;
}