#include <stdlib.h>
#include <stdio.h>

int main(int argc, char** argv)
{
  int offset = 10;
  char* ptr = NULL;

  if (argc > 1) offset = atoi(argv[1]);

  const int ARR_SIZE = 32;
  ptr = malloc(ARR_SIZE * sizeof(char));
  if (ptr == NULL) {fprintf(stderr, "Malloc failure\n"); return 1;}

  ptr[ARR_SIZE + offset] = '!';

  free(ptr);


  return 0;
}
