#include <stdio.h>
#define SIZEOF(type) ((char *)(&((type[0]){}) + 1) - (char *)(&((type[0]){})))
#define FMT(type) "SIZEOF(" #type ") == %ld\nsizeof(" #type ") == %d\n", SIZEOF(type), sizeof(type)
int main(void) {
printf(FMT(char));
printf(FMT(int));
printf(FMT(float));
printf(FMT(double));
printf(FMT(long));
printf(FMT(long double));
printf(FMT(void *));
return 0;
}