#include <stdio.h> |
#include <alloc.h> |
int main ( void ) |
{ |
char far *fptr; |
fptr = farmalloc ( 10 ); |
printf ( "First address: %Fp\n" , fptr ); |
fptr = farrealloc ( fptr,20 ); |
printf ( "New address : %Fp\n" , fptr ); |
farfree ( fptr ); |
return 0; |
} |