Address arithmetic

Added example for address arithmetic demo using alloc
This commit is contained in:
kdeng00
2021-11-15 21:15:20 -05:00
parent 587504818d
commit cdbd6d2ad1
3 changed files with 100 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#define ALLOCSIZE 9500
static char allocbuf[ALLOCSIZE];
static char *allocp = allocbuf;
char *alloc(int n);
void afree(char *p);