<Apti
Code
/>
Back
Question 661: If a is an array of 5 integers then which of the following is the correct way to increase its size to 10 elements?
tcs
wipro
infosys
general
aptitude
arrays
c-programming
No answer description is available.Let's discuss.
int[] a = new int[5]; int[] a = new int[10];
int[] a = int[5]; int[] a = int[10];
int[] a = new int[5]; a.Length = 10 ;
int[] a = new int[5]; a = new int[10];
int[] a = new int[5]; a.GetUpperBound(10);
Submit Answer
Show Answer
Previous
Next