700+ câu trắc nghiệm Ngôn ngữ lập trình C có đáp án - Phần 15

What is output? #include #include typedef struct { int a[2]; // 8 byte char b[5]; // 5 byte char c[5]; // 5 byte }A; void main() { printf("\n Size of struct: %d",sizeof(A)); getch(); }

3/25

What is output? #include #include typedef struct { int a[2]; // 8 byte char b[5]; // 5 byte char c[5]; // 5 byte }A; void main() { printf("\n Size of struct: %d",sizeof(A)); getch(); }

20

18

32

24

Giải thích

Chọn đáp án A