Sail E0 Webinar
Question

Which of the following correctly declares an array?


Options:
A .  int array[10];
B .  int array;
C .  array{10};
D .  array array[10];
Answer: Option A

Because array variable and values need to be declared after the datatype only.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers