Pick the incorrect statement about Character-Array.

Thảo Justin

New member
Pick the incorrect statement about Character-Array.
A. Character-Array can be terminated by a null character(‘\0’)
B. Character-Array has a static size
C. Character-Array has a dynamic size
D. Character-Array has a threat of array-decay
 
Answer: c
Explanation: As Character-Array is an array, its size should be defined during its declaration hence the size of Character-Array is static. A Character-Array is not necessarily to be terminated by a null character. Also, it has a threat of array-decay.
 

Tìm kiếm

Back
Top