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? void main() { if ((1 || 0) && (0 || 1)) { printf("ABC"); } else { printf("DEF"); } getch(); }

13/25

What is output of code? void main() { if ((1 || 0) && (0 || 1)) { printf("ABC"); } else { printf("DEF"); } getch(); }

ABC

DEF

Syntax error

Giải thích

Chọn đáp án A