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

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

array[3]

array[2] 

array(3)

array


What will be the output of the following code ?

int arr[100];

cout << arr[0];

Answer : Click here


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

int array[10]; 

int array;

array{10};

array array[10];

 Answer : Click Here


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

Answer : Click Here



Post a Comment

0 Comments