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

struct element_1 {
	int x;
	char y;
};

struct element_2 {
	char y;
	int x;
};

int main()
{
	struct element_1 *a;
	a = (struct element_1 *)malloc(sizeof(struct element_1));
	a->x = 48;
	a->y = 'A';
	struct element_2 *b = (struct element_2 *)a; 
	printf("%d\n", b->x);
	printf("%c\n", b->y);
	return 0;
}