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

What is the output of the following code? #include using namespace std; int main() { int main; main = 100; cout << main++ << endl; system("pause"); }

2/25

What is the output of the following code? #include using namespace std; int main() { int main; main = 100; cout << main++ << endl; system("pause"); }

100

101

none

compile error

Giải thích

Chọn đáp án A