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

What is output? void main() { int x = 5, y = 8; const int* p; p = &x; p = &y; x++; printf("%d", *p); getch(); }

7/25

What is output? void main() { int x = 5, y = 8; const int* p; p = &x; p = &y; x++; printf("%d", *p); getch(); }

5

6

8

Complier Error

Giải thích

Chọn đáp án C