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

What is output of code? #include #include void main() { int i, j, *ptr, *ptr1; i = 10; j = 10; ptr = &i; ptr1 = &j; if(ptr == ptr1) printf("True"); else printf("False"); getch(); }

17/25

What is output of code? #include #include void main() { int i, j, *ptr, *ptr1; i = 10; j = 10; ptr = &i; ptr1 = &j; if(ptr == ptr1) printf("True"); else printf("False"); getch(); }

True

False

Complier error

Giải thích

Chọn B.