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

What will be output of following program? #include #include int main() { int a = 10; void *p = &a; int *ptr = p; printf("%u\n", *ptr); getch(); }

12/25

What will be output of following program? #include #include int main() { int a = 10; void *p = &a; int *ptr = p; printf("%u\n", *ptr); getch(); }

int a = 10;

void *p = &a;

int *ptr = p;

printf("%u\n", *ptr);

Giải thích

Chọn đáp án C