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

A FOX one day fell into a deep well and could find no means of escape. A Goat, overcome with thirst, came to the same well, and seeing the Fox, inquired if the
In the equation 2H2 + O2 → 2H20, what are the reactants?
The amount of available ______ limits the number of trophic levels in a community. please help!!!
How do I graph 2x-3?​
The diagram shows the distance between my home, H. and two towns, A and B. It also shows information about journey times. What is the average speed of the journ
Answer this please please
15 more than the quotient of a number x and 12.
amendment 10 being violated example10 POINTS BRAINLY ​
Select the correct answer. Why is pacing important in a text? A. It helps develop ideas and mood at the appropriate speed. B. It is necessary in creating believ
HELP ME PLEASEEE 1. What percentage of the offspring will be heterozygous? 2. Why does each parent contribute only one allele to the offspring?