/* Collection of code snippets by Arne Vajhøj */
/* (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) */
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

int main()
{
   char navn[] = "12345678";
   int a, b;
   a = *((int*)navn);
   b = *((int*)(navn+4));
   printf("a=%08X b=%08X\n",a,b);
}
