MCQ Practice

Which of the following statements declares a one-dimensional Character array named item that consists of five elements?

A

char item[0 to 4] = ""

B

char item[0 to 5] = ""

C

char item[4] = ""

D

char item[5] = ""; E. string item[5] = ' '

Correct Answer: D