400 Câu hỏi trắc nghiệm lập trình C/C++ có đáp án (Phần 2)

In the following program where is the variable a getting defined and where it is getting declared?

13/50

In the following program where is the variable a getting defined and where it is getting declared?Media VietJack

Extern int a is declaration, int a = 20 is the definition

Int a = 20 is declaration, extern int a is the definition

Int a = 20 is definition, a is not defined

a is declared, a is not defined

Giải thích

Chọn A