kaileasample4199 kaileasample4199
  • 03-07-2019
  • Computers and Technology
contestada

You use a ____ following the closing brace of an array initialization list.

a.
,

b.
.

c.
:

d.
;

Respuesta :

PhantomWisdom PhantomWisdom
  • 13-07-2019

Answer:

a.

,

Explanation:

The array is used to store the multiple data with  same data type.

Syntax for initialization of array:

type name[] = {data_1, data_2, data_3,....};

the comma ',' is used to separate the data with other data.

for example:

int array[] = {1,2,3,4,5};

we cannot used dot '.', colon ':' and semicolon ';' as separator.

Answer Link

Otras preguntas

PLEASE HELP LAST QUESTION I GIVE THANKS
a swimming pool is 21 feet in diameter. what is the circumference of the swimming pool. use 22/7 for pi
What are the three forms of water and what are the scientific names when they change into each other
Which was not a labor-saving device that first appeared around the beginning of the twentieth century? A. washing machine B. spinning wheel C. sewing machine
Solve the system of equations using substitution. y = 4x + 6 y = 2x a. (6, 3) b. (-3, -6) c. (3, 6) d. (1, 2)
Why did Southern legislatures pass Jim Crow laws? (A) to push emancipated slaves into migrating back to Africa (B) to prevent the Democratic Party from regainin
What is the “rule of law”? Everyone must follow the law. Leaders must obey the law. Government must obey the law. No one is above the law.
Which innovation enabled ordinary people to buy cars? A. J.P.Morgan's methods of banking that made it easy to get credit B. Thomas Edison's use of electricity
solve for W. 1/2w + 2 = 4
what does 3,676,487 rounded to the nearest thousand?