Examveda

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] = ' ';

Answer: Option D


Join The Discussion

Related Questions on Object Oriented Programming Using C Plus Plus

A default catch block catches

A. all thrown objects

B. no thrown objects

C. any thrown object that has not been caught by an earlier catch block

D. all thrown objects that have been caught by an earlier catch block