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; i = 0; if(i = 15, 10, 5) printf("C/C++ %d", i); else printf("Java %d", i); getch(); }

19/25

What is output of code? #include #include void main() { int i; i = 0; if(i = 15, 10, 5) printf("C/C++ %d", i); else printf("Java %d", i); getch(); }

C/C++ 15

Java 15

Java 5

Complier error

Giải thích

Chọn đáp án A