text: //Classification: n/DAM/USV/dA/v/lc/ln
  //Written by: Sergey Pomelov
  //Reviewed by: Igor Eremeev
  //Comment:
  
  #include <stdio.h>
  #include <malloc.h>
  
  int main(void) 
  {
  	const int size = 64;
  	int *p;
  	p = (int*)malloc(size*sizeof(int));
  		if (p==NULL) {
  			printf("alloc error");
  			return 1;
  		}
  	*(p+size-1) = 1;
  	free(p);
  	printf("%d",*(p+size-1));
  	return 0;
  }
  