Cách khai báo mảng nào sau đây là đúng

Kiểu khai báo biến mảng nào sau đây là đúng?

A.

Var A:array[1..100] of integer;

B.

Var A:array[1...100] of integer;

C.

Var A:array[1.100] of integer;

D.

Var A:array[1,100] of integer;

Đáp án và lời giải
Đáp án:A
Lời giải:var :array[..] of

Bạn có muốn?

Xem thêm các đề thi trắc nghiệm khác

Xem thêm

Chia sẻ

Một số câu hỏi khác có thể bạn quan tâm.

  • Choose one word whose underlined part is pronounced differently from the others:
  • Choose one word whose underlined part is pronounced differently from the others:
  • Choose one word whose underlined part is pronounced differently from the others:
  • Choose one word whose underlined part is pronounced differently from the others:
  • Choose one word whose underlined part is pronounced differently from the others:
  • Choose one word whose underlined part is pronounced differently from the others:
  • Choose one word whose underlined part is pronounced differently from the others:
  • Choose one word whose underlined part is pronounced differently from the others:
  • Choose one word whose underlined part is pronounced differently from the others:
  • Choose one word whose underlined part is pronounced differently from the others:

Video liên quan

Chủ Đề