klmklm2791 klmklm2791
  • 20-08-2019
  • Computers and Technology
contestada

. Which two are valid array declarations? Choose all correct answers) □uint size; □ int size!; □int array size; int[] size;

Respuesta :

Cetacea
Cetacea Cetacea
  • 26-08-2019

Answer:

  •  int size[];
  •  int []size;

Explanation: The declaration of the size of array range can be done by the methods  int size[] and int[] size methods only where the length of the array can be mentioned in the"[]".

Other methods mention in the option are not suitable as" [] int size" declaration of length is mentioned before choosing the data type .Also "int array size;" is a false declaration because it  also does not specify the correct datatype .

Answer Link

Otras preguntas

A vegetable garden with an area of 200 square feet is to be fertilized. If the length of the garden is 1 foot less than three times the width, find the dimensio
Name one reason that parliament raised taxes
Most of the slaves shipped to the Americas ended up in Brazil and the Caribbean islands because Brazil and the Caribbean needed a continual influx of new slaves
The puritans mayflower compact was an agreement to create fair laws to protect the general good'
accomplishments from the Ming emperors included
Jim has three times as many comic books as Charles. Charles has 2/3 as many books as Bob. Bob has 27 books. How many comic books does Jim have?
Cowboys were only Native Americans and Mexican Americans. A. Yes B. No
0.1 is 10 times as much as
Who sold land to the Quakers in New Jersey?
What was unique about John Quincy Adams's election to the presidency?