home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_09_01 / 9n01032b < prev    next >
Text File  |  1990-11-18  |  557b  |  18 lines

  1.  
  2.                   char *a;
  3.                   int *b,*c;
  4.                   double far *d;
  5.                   main()
  6.                   {
  7.                        a = malloc(8000*sizeof(char));
  8.                        b = malloc(8000*sizeof(int));
  9.                        c = malloc(8000*sizeof(int));
  10.                        d = farmalloc(8000L*sizeof(double));
  11.                        fct(); ...
  12.                   }
  13.                   fct()
  14.                   {
  15.                        a[3] = ...; /* global arrays accessible */
  16.                   }
  17.  
  18.