IMG-LOGO

Câu hỏi:

14/10/2022 49

Which of the following statements are correct about an array?
1. The array int num[26]; can store 26 elements
2. The expression num[1] designates the very first element in the array
3. It is necessary to initialize the array at the time of declaration.
4. The declaration num[SIZE] is allowed if SIZE is a macro.

A. 1,4

Đáp án chính xác

B. 3

C. 1,2

D. 1

Trả lời:

verified Giải bởi Vietjack

Chọn A

Câu trả lời này có hữu ích không?

0

CÂU HỎI HOT CÙNG CHỦ ĐỀ

Câu 1:

What is output?
Media VietJack

Xem đáp án » 14/10/2022 108

Câu 2:

What will be output of following program?
Media VietJack

Xem đáp án » 14/10/2022 90

Câu 3:

What is output ?
Media VietJack

Xem đáp án » 14/10/2022 82

Câu 4:

What is output?
Media VietJack

Xem đáp án » 14/10/2022 80

Câu 5:

What is output of following code?
Media VietJack

Xem đáp án » 14/10/2022 79

Câu 6:

What is output?
Media VietJack

Xem đáp án » 14/10/2022 77

Câu 7:

What is output?
Media VietJack

Xem đáp án » 14/10/2022 69

Câu 8:

What is output?
\Media VietJack

Xem đáp án » 14/10/2022 69

Câu 9:

What is output?
Media VietJack

Xem đáp án » 14/10/2022 62

Câu 10:

What is output?
Media VietJack

Xem đáp án » 14/10/2022 60

Câu 11:

What is output?
Media VietJack

Xem đáp án » 14/10/2022 56

Câu 12:

What is output of following code?
Media VietJack

Xem đáp án » 14/10/2022 53

Câu 13:

What will be output of following program?
Media VietJack

Xem đáp án » 14/10/2022 53

Câu 14:

What is output?
Media VietJack

Xem đáp án » 14/10/2022 53

Câu 15:

What is output?
Media VietJack

Xem đáp án » 14/10/2022 52