#include <stdio.h>

int i = 0;

int f() {
	return ++i;
}

int g() {
	i += 2;
	return i;
}

int h() {
	i += 4;
	return i;
}

typedef struct {
	int c;
	char a;
	float b;
} X;

int main(void) {
	X foo = {.a = (char)f(), .b = g(), .c = h()};
	
	printf("c = %d\na = %hhu\nb = %f", foo.c, foo.a, foo.b);
	
	return 0;
}
