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

Why is using two thin blankets in bed usually warmer than one thick one?
72y^5 + 18y^2 what is the GCF? or is this prime?
Please help me on number 3
Intravenous fluids are being pumped into a patient at a rate of 125 millimiters per hour. How long should a one liter bag of fluid last for this patient.
hi I have a sore ear , it is a little tingly just now but and when I touch it it's agony
if the school day starts at 8:50am and ends at 3:15pm. There is a playtime break at 10:40am until 10:55am and a lunch break from 12 noon until 1:05pm. How long
Molly uses 192 beads to make a bracelet and a necklace. It takes 5 times as many beads to make a necklace than it does to make a bracelet. How many beads are us
What happens when you have in possession of the Hope Diamond???
Besides the cell mwmbrane, two components of all cells are
HELP MEEE!!!!! How do I use the distributive property to remove the parentheses? -3 ( - 3 v + 4 y - 2 )