#include <stdio.h>
#include <stdlib.h>
//using pointers inside unions
struct WindData
{
unsigned char type;
unsigned char data[50];
};
union Value
{
struct WindData wd;
int foo;
int* numbers;
};
int main(void) {
printf("Hello World\n");
union Value aa;
aa.numbers = malloc(40);
aa.numbers[0] = 44;
printf("%d\n", aa.numbers[0]);
return 0;
}