224k views
5 votes
The contents of an array of type ______ can be displayed with the cout operator (without specifying an element). - 1 point(s)

User Theisof
by
7.6k points

1 Answer

5 votes
The contents of an array of type char can be displayed with the cout operator. Array declarations must contain the information about the size of the array. It is possible to leave the size out of the [ ] in the declaration as long as you initialize the array inline, in which case the array is made just large enough to capture the initialized data.
User Abdalla
by
6.8k points