nnyambibi9118 nnyambibi9118
  • 14-09-2019
  • Computers and Technology
contestada

Define an array of the length 6 with the elements of WORD type. Initialize the first and the last of them with the same value of your choice; leave the remaining four uninitialized.

Respuesta :

ExieFansler ExieFansler
  • 20-09-2019

Answer:

string words[6];

words[0]="humming";

words[1]=words[0];

Explanation:

The above statement declares an array of size 6 which can store elements of type string or word. Then I have initialized the first and second elements with the word humming and the rest of the places in the arrays are uninitialized.

You have to include the header file string so that this array could work otherwise it will not.

Answer Link

Otras preguntas

Local governments in the united states use ________ to regulate land uses in specific areas to prevent any interference with existing uses by residents or busin
Help will give brainilist
Explain why A Long Walk to Water is an appropriate title for Nya's story, and why it is an appropriate title for Salva's story.
what are the three reasons that people kill sharks?
Which equation represents the line that passes through the point (9,7) and is parallel to the line 3x+y=6 A: x-3y=-12 B: x-3y=9 C: 3x+y=-20 D: 3x+y=15
Find the sum of the first 8 terms of the geometric sequence that begins: 12, 18, 27, ...
What does it mean when a female says “I love him with everything in me”?
15 qualities of good student​
PLEASE HELP I need a perfect grade to graduate!!!!!! Which sentence is written correctly? O The girl, whom is my best friend, has the same sneak
Which has least value when x=100?