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 x; static int y; }st; void main() { printf("sizeof(st) = %d", sizeof(st)); getch(); }

6/25

What is output? #include #include typedef struct { int x; static int y; }st; void main() { printf("sizeof(st) = %d", sizeof(st)); getch(); }

4

Complier error

8

Giải thích

Chọn đáp án A