Which of the following correctly declares an array of size 10 ?

 Which of the following correctly declares an array of size 10 ?

int array[10]; 

int array;

array{10};

array array[10];


What will be the output of the following code ?

int arr[100];

cout << arr[0];

Answer : Click here


What is the index number of the last element of an array with 5 elements ?

Answer : Click Here


 Which of the following accesses the third element stored in array?

array[3]

array[2] 

array(3)

array

Answer : Click Here





Post a Comment

0 Comments