#define sz(x) sizeof(x)
void main() {
int i;
typedef struct tagXYZ {
int x;
long int y;
long long int z;
} XYZ;
XYZ a[10], *b, c, *d[10];
i = sz(XYZ);
printf("%d", (sz(a) + sz(*b) + sz(c) + sz(*d) + sz(**d)) / i);
}
Yukarıdaki C programı çalıştırıldığında printf fonksiyonunun üreteceği konsol çıktısı ne olur?
Cevapla