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

What will happen if in the C program you assign a value to a array element whose subscript exceeds the size of array?

37/50

What will happen if in the C program you assign a value to a array element whose subscript exceeds the size of array?

The element will be set to 0.

The complier would report an error.

The program may crash if some important data gets overwritten

The array size would appropriately grow

Giải thích

Chọn C