volume_mute

What is the correct array initialization from the following?

publish date2020/10/17 00:20:00 GMT+11

volume_mute
temp_array[]
array temp_array[]
int temp_array[];
array temp_array[]

Correct Answer

int temp_array[];

Explanation

int temp_array[];

Is the correct choice.  An array has to have a type and the variable name has to end with two square closing brackets [].  The sentence has to end with a semi-colon ";"


Quizzes you can take where this question appears