#include <stdio.h>
#include <string.h>

void main ()
{
  char source = 123;
  long destination = -1;

  memcpy (&destination, &source, sizeof (source));
  printf ("%d" "\n", destination);

  destination = 0;

  memcpy (&destination, &source, sizeof (source));
  printf ("%d" "\n", destination);
}
