#include <stdio.h>
typedef struct Foo
{
int toto;
long tata;
int tutu;
} Foo;
typedef struct Bar
{
long toto;
int tata;
int tutu;
} Bar;
int main()
{
Foo foo;
foo.toto = 42;
foo.tata = 666;
foo.tutu = 1515;
Bar* bar = (Bar*)&foo;
printf("%ld %d %d", bar->toto, bar->tata, bar->tutu);
return 0;
}